summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorTomas Korbar <tkorbar@redhat.com>2020-02-20 07:37:55 +0100
committerTomas Korbar <tkorbar@redhat.com>2020-02-20 08:40:12 +0100
commit403242d214b6cb919ed08f2149d7bee77a060947 (patch)
tree7cdac853c955f981c4503aa42a76ed49521e9acb /lib/compiler.h
parent4eb08d65e2016f70449ea563f28211734425d8ff (diff)
pimd: Make frr able to be built by gcc 10
- Add extern modifier to some declarations in header file and move qpim_all_pim_routers_addr definition to pimd/pimd.c `GCC now defaults to -fno-common. As a result, global variable accesses are more efficient on various targets. In C, global variables with multiple tentative definitions now result in linker errors.` Taken from https://gcc.gnu.org/gcc-10/changes.html Signed-off-by: Tomas Korbar <tkorbar@redhat.com>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions