I have run into the same issue recently. I have been testing the
following patch(on 8.2-RELEASE) and it seems to have worked for me:
--- mkmakefile.c 11:09:30.0 -0400
+++ mkmakefile.c2011-10-06 11:13:31.0 -0400
@@ -742,15 +742,16 @@
break;
-Wnoerror should disable it, but I don't know enough about the FreeBSD
build infrastructure to tell you where it needs to go. Worst comes to
worst you can just delete all of the -Werrors.
Disabling -Werror will not cause any problems. -Werror means "treat
warnings as errors". It's very useful f
If you just want to try it out you could disable -Werror for your own
build. The reason that gcc 4.3 fails where 4.2 works fine is that the
gcc developers are adding new warnings with every compiler release, so
until somebody takes the time to fix all of the new warnings you won't
be able to build
That error is gcc oh-so-helpfully telling you that it decided not to inline
an function declared inline. Why the gcc devs decided that was deserving of
a diagnostic on -Wall is beyond me. I think that you can squelch it by
passing -Wno-inline to gcc.
__