Hello, Mayank Jain wrote:
> I have downloaded soci-3.0.0 from sourceforge.net > > unzip soci-3.0.0.zip > cd soci-3.0.0/ > ./configure > make > > and I got the following error message > > 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>::statement_wrapper&, const tm&)’: > soci-simple.cpp:476: error: ‘sprintf’ was not declared in this > scope [...] Yes, thank you very much for reporting this. There was indeed a missing include directive in this source file (and several others) and that was already fixed in our Git repository. The truth is that while the newest versions of g++ gain popularity, we will see more users getting into the same problem. Time for a new release... Regards, -- Maciej Sobczak * www.msobczak.com * www.inspirel.com ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
