mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
avoid warnings
This commit is contained in:
parent
a20c909c1b
commit
8f97fd9120
@ -418,7 +418,7 @@ endif()
|
||||
|
||||
if(NOT MSVC)
|
||||
set_source_files_properties(
|
||||
${CMAKE_BINARY_DIR}/src/analysis/qgsrastercalcparser.cpp
|
||||
${BISON_QgsRasterCalcParser_OUTPUTS}
|
||||
PROPERTIES COMPILE_FLAGS "-w"
|
||||
)
|
||||
else()
|
||||
@ -426,7 +426,7 @@ else()
|
||||
# 4127 expression is constant
|
||||
# 4702 unreachable code
|
||||
set_source_files_properties(
|
||||
${CMAKE_BINARY_DIR}/src/analysis/qgsrastercalcparser.cpp
|
||||
${BISON_QgsRasterCalcParser_OUTPUTS}
|
||||
PROPERTIES COMPILE_FLAGS "-wd4127 -wd4702"
|
||||
)
|
||||
endif()
|
||||
|
@ -862,9 +862,9 @@ endif()
|
||||
|
||||
if(NOT MSVC)
|
||||
set_source_files_properties(
|
||||
qgsexpressionparser.cpp
|
||||
qgssqlstatementparser.cpp
|
||||
qgsmeshcalcparser.cpp
|
||||
${BISON_QgsExpressionParser_OUTPUTS}
|
||||
${BISON_QgsSqlStatementParser_OUTPUTS}
|
||||
${BISON_QgsMeshCalcParser_OUTPUTS}
|
||||
PROPERTIES COMPILE_FLAGS -w)
|
||||
else()
|
||||
# -wd4702 unreachable code
|
||||
|
Loading…
x
Reference in New Issue
Block a user