mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-03 04:38:39 +01:00
silence deprecated iODBC warnings
This commit is contained in:
parent
83b500057c
commit
19ef47474b
@ -29,6 +29,7 @@ Fabrizio Duhem
|
|||||||
Patrick White
|
Patrick White
|
||||||
Mike Naquin
|
Mike Naquin
|
||||||
Roger Meier
|
Roger Meier
|
||||||
|
Mathaus Mendel
|
||||||
|
|
||||||
--
|
--
|
||||||
$Id$
|
$Id$
|
||||||
|
@ -61,6 +61,10 @@ else ifeq (0, $(shell test -e $(POCO_ODBC_LIB)/libiodbc$(LIBLINKEXT); echo $$?))
|
|||||||
SYSLIBS += -liodbc -liodbcinst
|
SYSLIBS += -liodbc -liodbcinst
|
||||||
COMMONFLAGS += -DPOCO_IODBC -I/usr/include/iodbc
|
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
|
else
|
||||||
$(error No ODBC library found. Please install unixODBC or iODBC or specify POCO_ODBC_LIB and try again)
|
$(error No ODBC library found. Please install unixODBC or iODBC or specify POCO_ODBC_LIB and try again)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user