From ff7aa733b5aeeb4c0e115dbc71897577b4324e82 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 10 Mar 2012 19:09:41 +0100 Subject: suppress "SQL_API redefined" error with -Werror --- connectivity/source/drivers/odbc/makefile.mk | 4 ++++ connectivity/source/drivers/odbcbase/makefile.mk | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'connectivity/source') 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 -- cgit