mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
silence deprecated iODBC warnings
This commit is contained in:
parent
83b500057c
commit
19ef47474b
@ -29,6 +29,7 @@ Fabrizio Duhem
|
||||
Patrick White
|
||||
Mike Naquin
|
||||
Roger Meier
|
||||
Mathaus Mendel
|
||||
|
||||
--
|
||||
$Id$
|
||||
|
@ -61,6 +61,10 @@ else ifeq (0, $(shell test -e $(POCO_ODBC_LIB)/libiodbc$(LIBLINKEXT); echo $$?))
|
||||
SYSLIBS += -liodbc -liodbcinst
|
||||
COMMONFLAGS += -DPOCO_IODBC -I/usr/include/iodbc
|
||||
|
||||
# TODO: OSX >= 10.8 deprecated non-Unicode ODBC API functions, silence warnings until iODBC Unicode support
|
||||
COMMONFLAGS += -Wno-deprecated-declarations
|
||||
|
||||
else
|
||||
$(error No ODBC library found. Please install unixODBC or iODBC or specify POCO_ODBC_LIB and try again)
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user