Comment 1 for bug 1703250

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

So, gcc 7.1 doesn't support the "inline" keyword by default? What happens if you add -std=gnu99 to the compile options?

The latest available in Debian (even in unstable) is gcc-avr 1:4.9.2+Atmel3.5.4-1. I'm not sure what all changed between gcc 4 and gcc 7, but some platforms failed by merely switching from 4 to 5. I expect to see a wide variety of problems for pretty much any project which uses gcc.

For this project, it looks like the inline functions may need to be declared as external, to trick the linker into not trying to resolve them. If -std=gnu99 doesn't work, what happens if you change those to "extern inline" instead of just "inline"?