bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird bug when using <iostream> includes


From: David Durham
Subject: Re: weird bug when using <iostream> includes
Date: Tue, 19 Feb 2002 16:00:47 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204

try putting:  -D_GNU_SOURCE
on the compiler command


Tim Esselens wrote:

Hi,

I just started using your lib, and noticed the following problem:
if you #include <iostream> before the <thread.h> directive, something goes wrong:
/usr/include/cc++/thread.h:344: syntax error before `;'

Removal of the iostream include directive from my code fixed the problem. I assume this has something to do with PTHREAD defined rules within iostream. If you would like some more info, please let me know...

gcc: std rh-72: gcc-2.96, gcc3-3.0.1
cc++: 1.9.5

kind regards,
Tim Esselens


_______________________________________________
Bug-commoncpp mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-commoncpp







reply via email to

[Prev in Thread] Current Thread [Next in Thread]