[Bug c++/46811] New: Compiler lock with no error message while compiling boost::condition with bad parameters

2010-12-05 Thread pedro_nf at yahoo dot com
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

[Bug c++/46811] Compiler lock with no error message while compiling boost::condition with bad parameters

2010-12-05 Thread pedro_nf at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46811

--- Comment #1 from pedro_nf at yahoo dot com 2010-12-05 17:26:16 UTC ---
Created attachment 22645
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22645
The same program but with the correct parameters, it compiles instantly

This is the same program but with the timed_wait parameters in the good order,
it compiles instantly.