On Sun, 2010-09-12 at 10:40 -0600, Tyler Littlefield wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello all, > I just grabbed soci 3.0 and tried to compile. > I did a ./configure > make > and: > g++ -c soci-simple.cpp -Wall -pedantic -Wno-long-long -O2 > The last command did not execute properly: > soci-simple.cpp: In function 'const > char*<unnamed>::format_date(<unnamed>::state > soci-simple.cpp:476: error: 'sprintf' was not declared in this scope > soci-simple.cpp: In function 'bool<unnamed>::string_to_date(const char*, > tm&, <u > soci-simple.cpp:492: error: 'sscanf' was not declared in this scope > soci-simple.cpp: In function 'const char* soci_get_use_date(void*, const > char*)' > soci-simple.cpp:1514: error: 'sprintf' was not declared in this scope > child process exited abnormally > Please contact the SOCI team. > that can be cleared up with an include statement, but is there something > I'm missing? a lib shouldn't be erroring on make, especially with errors > like that.
the 3.0.0 version does not compile with newer versions of gcc. This is patched in the repository but not released yet. Consider using the head of development: http://sourceforge.net/projects/soci/develop If required I could also dig out some patches which should fix only the compilation for 3.0.0. Best Regards, Julian Taylor
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
