Poco::Net::MailMessage constructor crashes with gcc-4.7

Please post support and help requests here.
killerbot
Posts: 68
Joined: 03 Dec 2009, 12:55

Poco::Net::MailMessage constructor crashes with gcc-4.7

Postby killerbot » 06 Apr 2012, 23:39

When I use my own little test program or I use the example program that comes with poco, there is a crash when being build with gcc-4.7.

My environment : linux/64bit.

When building with gcc 4.6.2 it works ok.

Call stack :

Code: Select all

Poco::MailMessage::MailMessage()
Poco::MailMessage::setDate(Poco::TimeStamp const&)
Poco::DateTimeFormatter::append(std::string&, Poco::DateTime const&, std::string const&, int)


any ideas ?

killerbot
Posts: 68
Joined: 03 Dec 2009, 12:55

Re: Poco::Net::MailMessage constructor crashes with gcc-4.7

Postby killerbot » 07 Apr 2012, 08:48

I have solved the problem.
It was a mismatch in compatibility.
Poco was build with gcc 4.6.2, and the example app was build with gcc 4.7.
After rebuilding poco with 4.7 all is fine again.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 1 guest

cron