| 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 |