https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78981
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andreas Schwab <sch...@linux-m68k.org> --- Since getenv is undeclared it is implicitly declared returning int. Use -Werror=implicit-function-declaration.