Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kyte <alexmkyte@gmail.com>2016-08-01 23:41:45 +0300
committerGitHub <noreply@github.com>2016-08-01 23:41:45 +0300
commitc69ede50f2ab8deaee1b9970e025c0365a6496d6 (patch)
tree26d9ce6d630b73f8214b2efb2b18207013b28a38 /configure.ac
parente5dfc41368a615fbf2d113a88a5a45c7338dfc8a (diff)
parentea6525cda8ef802c3e9b51c6df1e912688c53ae4 (diff)
Merge pull request #3269 from alexanderkyte/silence_zero_len
[runtime] Disable noisy warning
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b4ac2f5f28b..7dc93ad5043 100644
--- a/configure.ac
+++ b/configure.ac
@@ -532,6 +532,9 @@ if test x"$GCC" = xyes; then
# We rely on signed overflow to behave
CFLAGS="$CFLAGS -fwrapv"
+ # We rely on zero length arrays in structs
+ CFLAGS="$CFLAGS -Wno-zero-length-array"
+
CFLAGS="$CFLAGS -DMONO_DLL_EXPORT"
if test x"$disable_visibility_hidden" = xno; then
# Don't export any symbols by default