| 139 | | SET(OPENTHREADS_AGGRESSIVE_WARNING_FLAGS "-Wall -Wparentheses -Wformat=2 -Wno-long-long -Wno-import -pedantic -Wnewline-eof -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wshadow -Woverloaded-virtual") |
|---|
| | 139 | # Also, there is a bug in gcc 4.0. Under C++, -pedantic will create |
|---|
| | 140 | # errors instead of warnings for certain issues, including superfluous |
|---|
| | 141 | # semicolons and commas, and the use of long long. -fpermissive seems |
|---|
| | 142 | # to be the workaround. |
|---|
| | 143 | SET(OPENTHREADS_AGGRESSIVE_WARNING_FLAGS "-Wall -Wparentheses -Wformat=2 -Wno-long-long -Wno-import -pedantic -Wnewline-eof -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wshadow -Woverloaded-virtual -fpermissive") |
|---|