[haiku-bugs] [Haiku] #6333: Jamfiles shouldn't use -Wall

  • From: "kaliber" <trac@xxxxxxxxxxxx>
  • Date: Sun, 18 Jul 2010 17:12:03 -0000

#6333: Jamfiles shouldn't use -Wall
----------------------------+-----------------------------------------------
   Reporter:  kaliber       |        Owner:  bonefish      
       Type:  enhancement   |       Status:  new           
   Priority:  normal        |    Milestone:  R1            
  Component:  Build System  |      Version:  R1/Development
   Keywords:                |   Blocked By:                
Has a Patch:  0             |     Platform:  All           
   Blocking:                |  
----------------------------+-----------------------------------------------
 BuildSetup defines default warning flags, but some of Jamfiles adds its
 own. If -Wall is added then it could re-enable some warnings. For example:

 BuildSetup defines:
 {{{
 HAIKU_WARNING_CCFLAGS = -Wall -Wno-trigraphs ...
 src/add-ons/kernel/drivers/network/etherpci/Jamfile defines:
 SubDirCcFlags -Wall ;
 }}}

 and the final CFLAGS are:
 {{{
 -Wall -Wno-trigraphs ... -Wall
 }}}
 Since -Wall implies -Wtrigraphs, the final result may be different then
 expected.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6333>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: