http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46811
Summary: Compiler lock with no error message while compiling
boost::condition with bad parameters
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: pedro...@yahoo.com
Created attachment 22644
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22644
This version of the program locks the compiler
I'm not sure if this is a gcc problem or boost problem. This problem happens
while compiling a simple application that uses boost::condition. In fact I made
a mistake and exchanged the 2nd and 3rd parameters of the condition.timed_wait
function. Instead of a compiler error, the compiler will do nothing for a long
time and then it will start printing the same string over and over again, this
is an extract of my console after a ctrl-C:
oost::lambda::plus_action>, boost::tuples::tuple,
boost::tuples::tuple,
boost::tuples::tuple,
boost::tuples::tuple,
boost::tuples::tuple