mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
workaround for gcc bug 7302
it's https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7302 fixed in 2011 affects fmtlib: https://github.com/fmtlib/fmt/issues/1936
This commit is contained in:
parent
960b4870a2
commit
0a17a526c1
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ SET(MY_ERROR_FLAGS -Werror)
|
|||
|
||||
IF(CMAKE_COMPILER_IS_GNUCC AND CMAKE_C_COMPILER_VERSION VERSION_LESS "6.0.0")
|
||||
SET(MY_ERROR_FLAGS ${MY_ERROR_FLAGS} -Wno-error=maybe-uninitialized)
|
||||
SET(MY_ERROR_FLAGS ${MY_ERROR_FLAGS} -Wno-error=non-virtual-dtor) # gcc bug 7302
|
||||
ENDIF()
|
||||
|
||||
IF(MYSQL_MAINTAINER_MODE MATCHES "OFF|WARN")
|
||||
|
|
Loading…
Add table
Reference in a new issue