mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Don't try to use -Wno-deprecated-register with Clang.
It doesn't work.
This commit is contained in:
parent
3b4111c16d
commit
4aed8b37e1
@ -1320,7 +1320,11 @@ then
|
||||
#We have a lot of unused variables. Don't warn until someone gets
|
||||
#around to cleaning them up.
|
||||
AM_CFLAGS="${AM_CFLAGS} -Wno-unused"
|
||||
AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused -Wno-deprecated-register"
|
||||
if [[ "x$ac_cv_CLANG" = "xyes" ]]; then
|
||||
AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused"
|
||||
else
|
||||
AM_CXXFLAGS="${AM_CXXFLAGS} -Wno-unused -Wno-deprecated-register"
|
||||
fi
|
||||
# other flags...
|
||||
# These next two are included in the GNOME_COMPILE_WARNINGS
|
||||
#warnFLAGS="${warnFLAGS} -Wmissing-prototypes"
|
||||
|
Loading…
Reference in New Issue
Block a user