File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -377,11 +377,15 @@ IF (PEDANTIC)
377
377
SET (_warnings "${_warnings} /wd4244 " ) # conversion from '...' to '...' possible loss of data
378
378
SET (_warnings "${_warnings} /wd4251 " ) # needs to have dll-interface to be used by clients of class (occurs in Qt template classes)
379
379
SET (_warnings "${_warnings} /wd4275 " ) # non dll-interface class '...' used as base for dll-interface class '...'
380
+ SET (_warnings "${_warnings} /wd4456 " ) # declaration of '...' hides previous local declaration
381
+ SET (_warnings "${_warnings} /wd4457 " ) # declaration of '...' hides a function parameter
382
+ SET (_warnings "${_warnings} /wd4458 " ) # declaration of '...' hides class member
380
383
SET (_warnings "${_warnings} /wd4505 " ) # unreferenced local function has been removed (QgsRasterDataProvider::extent)
381
384
SET (_warnings "${_warnings} /wd4510 " ) # default constructor could not be generated (sqlite3_index_info, QMap)
382
385
SET (_warnings "${_warnings} /wd4512 " ) # assignment operator could not be generated (sqlite3_index_info)
383
386
SET (_warnings "${_warnings} /wd4610 " ) # user defined constructor required (sqlite3_index_info)
384
387
SET (_warnings "${_warnings} /wd4706 " ) # assignment within conditional expression (pal)
388
+ SET (_warnings "${_warnings} /wd4714 " ) # function '...' marked as __forceinline not inlined (QString::toLower/toUpper/trimmed)
385
389
SET (_warnings "${_warnings} /wd4800 " ) # 'int' : forcing value to bool 'true' or 'false' (performance warning)
386
390
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${_warnings} " )
387
391
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${_warnings} " )
You can’t perform that action at this time.
0 commit comments