diff options
author | unknown <knielsen@knielsen-hq.org> | 2009-10-03 22:13:58 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2009-10-03 22:13:58 +0200 |
commit | 59f80387ba98547878469511fa93745be30f8138 (patch) | |
tree | d19fec4d614b4538c99e1a9d9cadfc7d469ad426 /support-files | |
parent | 22a9f9b243f1144ea4e58c353109e5aa4cfca50e (diff) | |
download | mariadb-git-59f80387ba98547878469511fa93745be30f8138.tar.gz |
Fix some compiler warnings cause by GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478
storage/maria/ma_blockrec.c:
GCC warns about const vs. non-const despite cast
(but it is in any case cleaner to avoid the cast completely)
support-files/compiler_warnings.supp:
Silence a wrong compiler warning caused by GCC bug.
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/compiler_warnings.supp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support-files/compiler_warnings.supp b/support-files/compiler_warnings.supp index 535b8666ec1..9f3048ad996 100644 --- a/support-files/compiler_warnings.supp +++ b/support-files/compiler_warnings.supp @@ -109,3 +109,6 @@ ma_packrec.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 550- # .* : .*no matching operator delete found; memory will not be freed if initialization throws an exception.* ctype-simple.c : .*unary minus operator applied to unsigned type, result still unsigned.* + +# Wrong warning due to GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478 +regexec\.c : .*passing argument 3 of.*matcher.* discards qualifiers from pointer target type.* |