diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-10 19:09:41 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:56 +0100 |
commit | ff7aa733b5aeeb4c0e115dbc71897577b4324e82 (patch) | |
tree | 5e43b493327668dc5a014a27b88297ec99d07cde /connectivity/source | |
parent | fc6d226a0ed0e493a33d5f82edcedec0ddd37ec7 (diff) |
suppress "SQL_API redefined" error with -Werror
Diffstat (limited to 'connectivity/source')
-rwxr-xr-x | connectivity/source/drivers/odbc/makefile.mk | 4 | ||||
-rwxr-xr-x | connectivity/source/drivers/odbcbase/makefile.mk | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/connectivity/source/drivers/odbc/makefile.mk b/connectivity/source/drivers/odbc/makefile.mk index 6d701b87c5e2..3c79b490a1ce 100755 --- a/connectivity/source/drivers/odbc/makefile.mk +++ b/connectivity/source/drivers/odbc/makefile.mk @@ -35,6 +35,10 @@ VISIBILITY_HIDDEN=TRUE USE_DEFFILE=TRUE LDUMP=ldump2.exe +.IF "$(GUI)$(COM)" == "WNTGCC" +EXTERNAL_WARNINGS_NOT_ERRORS = TRUE +.ENDIF + # --- Settings ---------------------------------- .IF "$(DBGUTIL_OJ)"!="" diff --git a/connectivity/source/drivers/odbcbase/makefile.mk b/connectivity/source/drivers/odbcbase/makefile.mk index 85e96ea857d6..b32e619faa4a 100755 --- a/connectivity/source/drivers/odbcbase/makefile.mk +++ b/connectivity/source/drivers/odbcbase/makefile.mk @@ -33,6 +33,10 @@ TARGET=odbcbase ENABLE_EXCEPTIONS=TRUE VISIBILITY_HIDDEN=TRUE +.IF "$(GUI)$(COM)" == "WNTGCC" +EXTERNAL_WARNINGS_NOT_ERRORS = TRUE +.ENDIF + # --- Settings ---------------------------------- .INCLUDE : settings.mk |