FAQ
Hello,



I found the following build failure while building the library,



/home/deepak/Development/mysql++-3.1.0/bk-deps g++ -c -o ssqlsxlat_genv2.o
-Ilib -I/usr/include/mysql -g -O2 ./ssx/genv2.cpp

./ssx/genv2.cpp: In function 'bool generate_ssqls2(const char*, const
ParseV2*)':

./ssx/genv2.cpp:70:7: error: 'strcmp' is not a member of 'std'

make: *** [ssqlsxlat_genv2.o] Error 1



Added this

++++++++++++++++++++++++++++++++++++++++++++++

--- ssx/genv2.cpp 2011-12-06 00:27:47.250423995 -0800

+++ ssx/genv2.cpp.bak 2011-12-06 00:27:38.918424148 -0800

@@ -35,6 +35,7 @@

#include <iostream>

#include <fstream>

#include <typeinfo>

+#include <cstring>



using namespace std;

++++++++++++++++++++++++++++++++++++++++++++++

And it compiled successfully.



I am compiling on UBUNTU 11.04.



Is it the right way to go.



Best Regards,

Deepak Jangid

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupplusplus @
categoriesmysql
postedDec 6, '11 at 8:30a
activeDec 6, '11 at 3:44p
posts2
users2
websitemysql.com
irc#mysql

2 users in discussion

Deepak Jangid: 1 post Warren Young: 1 post

People

Translate

site design / logo © 2022 Grokbase