Opened 14 years ago
Last modified 13 years ago
#6333 closed enhancement
Jamfiles shouldn't use -Wall — at Initial Version
Reported by: | kaliber | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
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.
Note:
See TracTickets
for help on using tickets.