Changeset 9656

Show
Ignore:
Timestamp:
02/05/09 11:40:43 (5 years ago)
Author:
robert
Message:

Removed the --format=2 entry as it was reported problems with buggy standard library headers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/branches/OpenSceneGraph-2.8/CMakeLists.txt

    r9647 r9656  
    548548    # semicolons and commas, and the use of long long. -fpermissive seems 
    549549    # to be the workaround. 
    550     SET(OSG_AGGRESSIVE_WARNING_FLAGS -Wall -Wparentheses -Wformat=2 -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -fpermissive) 
    551  
    552     IF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") 
    553  
    554         # disable the "warning: format not a string literal and no format arguments" emited from std library ostream support 
    555         SET(OSG_AGGRESSIVE_WARNING_FLAGS ${OSG_AGGRESSIVE_WARNING_FLAGS} -Wformat=0) 
    556  
    557     ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") 
     550    SET(OSG_AGGRESSIVE_WARNING_FLAGS -Wall -Wparentheses -Wuninitialized -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -fpermissive) 
     551 
     552    # Previous included -Wformat=2 in OSG_AGGRESSIVE_WARNING_FLAGS but had to remove it due to standard library errors 
    558553 
    559554