diff options
author | Michael Stahl <mst@openoffice.org> | 2011-10-11 14:19:11 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2011-10-11 17:57:01 +0200 |
commit | d3d533c9e45b6badf202a12f0ed266d0168aa636 (patch) | |
tree | 29c1b3a609b6f59996455f4a5151f8b08c14681f /mysqlcppconn | |
parent | 30e1eaabc4917641943a8fa2befca208d857a14a (diff) |
mysqlcppconn: work around weird gcc issue
Diffstat (limited to 'mysqlcppconn')
-rw-r--r-- | mysqlcppconn/mysql_config.pmk | 6 |
1 files changed, 6 insertions, 0 deletions
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" + |