You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In SMCRoute 2.5.0, inline declarations from C99 were introduced. This caused older toolchains, like the sourcery-arm toolchain in Buildroot, to fail. Older GCC like 4.8.3 have -std=gnu90 as their default. This changed in later releases to gnu99.
Example:
mroute.c: In function 'mfc_install':
mroute.c:498:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < NELEMS(route->ttl); i++) {
^
mroute.c:498:3: note: use option -std=c99 or -std=gnu99 to compile your code
The text was updated successfully, but these errors were encountered:
In SMCRoute 2.5.0, inline declarations from C99 were introduced. This caused older toolchains, like the sourcery-arm toolchain in Buildroot, to fail. Older GCC like 4.8.3 have
-std=gnu90
as their default. This changed in later releases to gnu99.Example:
The text was updated successfully, but these errors were encountered: