File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -226,9 +226,10 @@ IF (PEDANTIC)
226
226
ADD_DEFINITIONS ( /wd4610 ) # user defined constructor required (sqlite3_index_info)
227
227
ADD_DEFINITIONS ( /wd4706 ) # assignment within conditional expression (pal)
228
228
ELSE (MSVC )
229
- ADD_DEFINITIONS ( -Wall -Wextra -Wredundant-decls -Wno-long-long -Wformat-security -Wno-strict-aliasing )
229
+ ADD_DEFINITIONS ( -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing )
230
230
# Qt produces lots of warnings with strict aliasing (as of Qt 4.4.0 & GCC 4.3)
231
- # ADD_DEFINITIONS( -fstrict-aliasing -Wstrict-aliasing=1 )
231
+ # There are redundant declarations in Qt and GDAL
232
+ # ADD_DEFINITIONS( -fstrict-aliasing -Wstrict-aliasing=1 -Wredundant-decls )
232
233
ENDIF (MSVC )
233
234
ENDIF (PEDANTIC )
234
235
You can’t perform that action at this time.
0 commit comments