configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9c6880bb0771fe2cd6523a4d2488c403e5480163
Author: Stephan Bergmann <[email protected]>
AuthorDate: Tue Sep 11 17:45:15 2018 +0200
Commit: Stephan Bergmann <[email protected]>
CommitDate: Wed Sep 12 07:53:19 2018 +0200
Make sure MSVC actually warns/errors on unknown attribute
...as "warning C5030: attriubte '...' is not recognized" is not inclued in
the
default /W1.
Change-Id: I89acfa34df3c361e572c59d197d0c26b68abbeee
Reviewed-on: https://gerrit.libreoffice.org/60332
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/configure.ac b/configure.ac
index 87ee1fdbd756..685408e99062 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6443,7 +6443,7 @@ save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS $CXXFLAGS_CXX11"
dnl Unknown attributes must be ignored by compilers, but they do emit warnings
about them:
if test "$COM" = MSC; then
- CXXFLAGS="$CXXFLAGS /WX"
+ CXXFLAGS="$CXXFLAGS /we5030"
else
CXXFLAGS="$CXXFLAGS -Werror"
fi
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits