cxx: update flags for gcc-8.1.0
This commit is contained in:
parent
5208910a35
commit
1c5ded53b3
@ -24,7 +24,7 @@ append_compile_flag ("-fcolor-diagnostics")
|
|||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
append_compile_flag ("-std=c++1z")
|
append_compile_flag ("-std=c++2a")
|
||||||
append_compile_flag ("-fpermissive")
|
append_compile_flag ("-fpermissive")
|
||||||
append_compile_flag ("/std:c++latest")
|
append_compile_flag ("/std:c++latest")
|
||||||
|
|
||||||
|
@ -71,6 +71,13 @@ append_compile_flag(-Wcovered-switch-default)
|
|||||||
|
|
||||||
append_compile_flag(-Wno-gnu-string-literal-operator-template)
|
append_compile_flag(-Wno-gnu-string-literal-operator-template)
|
||||||
|
|
||||||
|
# gcc 8.1
|
||||||
|
|
||||||
|
append_compile_flag(-Wmultistatement-macros)
|
||||||
|
append_compile_flag(-Wcast-align=strict)
|
||||||
|
append_compile_flag(-Wold-style-cast)
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Required extensions
|
# Required extensions
|
||||||
#AX_APPEND_COMPILE_FLAGS([-Wgnu-flexible-array-union-member], [], [-Werror])
|
#AX_APPEND_COMPILE_FLAGS([-Wgnu-flexible-array-union-member], [], [-Werror])
|
||||||
|
Loading…
Reference in New Issue
Block a user