[haiku-development] Re: error with previous gcc4 builds

Hi,

Stefano Ceccherini wrote:
2009/2/3 François Revol <revol@xxxxxxx>:
I'd like to avoid having to rebuild gcc just now... for the 3 platforms
I work on.

C++ generated/objects/haiku/x86/release/kits/app/Application.o
cc1plus: error: unrecognized command line option "-Wno-error=
uninitialized"

I have the same problem with Cygwin.

for the time being you might revert locally that part in the BuildSetup file:

Modified: haiku/trunk/build/jam/BuildSetup
=======================================

--- haiku/trunk/build/jam/BuildSetup    2009-02-01 21:44:07 UTC (rev 29117)

+++ haiku/trunk/build/jam/BuildSetup    2009-02-01 22:12:55 UTC (rev 29118)

@@ -1033,15 +1033,12 @@

» » » :·$(scope)·;
» }
}·else·{
-#·TODO:·Enable·after·updating·to·a·newer·gcc·4·version·that·supports·-Wno-error!
» #·-Wuninitialized·gives·too·many·false·positives.
-#» rule·EnableWerror·dirTokens·:·scope·{
-#» » AppendToConfigVar·CCFLAGS·:·HAIKU_TOP·$(dirTokens)
-#» » » :·-Werror·-Wno-error=uninitialized·:·$(scope)·;
-#» » AppendToConfigVar·C++FLAGS·:·HAIKU_TOP·$(dirTokens)
-#» » » :·-Werror·-Wno-error=uninitialized·:·$(scope)·;
-#» }
» rule·EnableWerror·dirTokens·:·scope·{
+» » AppendToConfigVar·CCFLAGS·:·HAIKU_TOP·$(dirTokens)
+» » » :·-Werror·-Wno-error=uninitialized·:·$(scope)·;
+» » AppendToConfigVar·C++FLAGS·:·HAIKU_TOP·$(dirTokens)
+» » » :·-Werror·-Wno-error=uninitialized·:·$(scope)·;
» }
}


Regards,
Karsten

Other related posts: