diff options
author | David Tardon <dtardon@redhat.com> | 2012-05-23 12:12:02 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-05-29 07:24:49 +0200 |
commit | a29e81a17e205dfc39d10204a95d57728cec8636 (patch) | |
tree | 1e222c23998787b9eb54fbdb0dbcf21efba09c97 /connectivity | |
parent | WaE: #pragma system_header ignored outside include file (diff) | |
download | core-a29e81a17e205dfc39d10204a95d57728cec8636.tar.gz core-a29e81a17e205dfc39d10204a95d57728cec8636.zip |
WaE: deprecated conversion from string constant to 'char*'
Change-Id: If087898c20a5a77e9dddedbbfad9f0aefc70024f
Diffstat (limited to 'connectivity')
-rwxr-xr-x | connectivity/source/parse/sqlflex.l | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l index 879e8167ae6c..fd5eb0f8b5d8 100755 --- a/connectivity/source/parse/sqlflex.l +++ b/connectivity/source/parse/sqlflex.l @@ -53,7 +53,11 @@ #include <rtl/strbuf.hxx> #include <connectivity/sqlparse.hxx> -#if defined __SUNPRO_CC +#if defined __GNUC__ +#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) +# pragma GCC diagnostic ignored "-Wwrite-strings" +#endif +#elif defined __SUNPRO_CC #pragma disable_warn #elif defined _MSC_VER #pragma warning(push, 1) |