We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbd9fb3 commit da81417Copy full SHA for da81417
cmake/compiler_setup.cmake
@@ -86,6 +86,13 @@ if(CXX_CLANG OR CXX_GNU)
86
if(FIREBASE_CXX_COMPILER_FLAG_REDUNDANT_MOVE_SUPPORTED)
87
list(APPEND common_flags -Wno-error=redundant-move)
88
endif()
89
+
90
+ # Disable treating "deprecated-declarations" as an error since it's not really a problem
91
+ # worth breaking the build over.
92
+ CHECK_CXX_COMPILER_FLAG("-Wno-error=deprecated-declarations" FIREBASE_CXX_COMPILER_FLAG_DEPRECATED_DECLARATIONS_SUPPORTED)
93
+ if(FIREBASE_CXX_COMPILER_FLAG_DEPRECATED_DECLARATIONS_SUPPORTED)
94
+ list(APPEND common_flags -Wno-error=deprecated-declarations)
95
+ endif()
96
97
98
if(APPLE)
0 commit comments