From d3d533c9e45b6badf202a12f0ed266d0168aa636 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 11 Oct 2011 14:19:11 +0200 Subject: mysqlcppconn: work around weird gcc issue --- mysqlcppconn/mysql_config.pmk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mysqlcppconn') diff --git a/mysqlcppconn/mysql_config.pmk b/mysqlcppconn/mysql_config.pmk index eb316e0911c3..9c9c76a5bd7b 100644 --- a/mysqlcppconn/mysql_config.pmk +++ b/mysqlcppconn/mysql_config.pmk @@ -47,3 +47,9 @@ CFLAGS+=-DCPPDBC_WIN32 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS CFLAGS+=-I$(PRJINC) -I$(PRJINC)$/cppconn $(MYSQL_INC) -DCPPCONN_LIB_BUILD +# workaround for gcc bug (4.6.1 20110908): +# it complains about std::basic string operator= overloading ambiguity +.IF "$(COM)"=="GCC" +CFLAGSCXX+=-std=c++98 +.ENDIF # "$(COM)"=="GCC" + -- cgit v1.2.3