
On Tue, May 18, 2004 at 05:17:23PM +0400, Vladimir Prus wrote:
Jonathan Wakely wrote:
Quite the contrary, I think we need to respect compiler switches, but not library settings. Anyway, this is only important if we can get gcc to reliable report -pthread presense.
Which should happen for 3.4.1.
That's good. Did gcc developers decided to add this? Do you have link to email thread (if any)?
Only the bug tracker, which is here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11953 Wolfgang Bangerth had no objection to the idea of a __GXX_PTHREADS macro defined when -pthread is given, and Andrew Pinski targeted the bug for GCC 3.4.1 - so it looks to me as though they're happy with it and a fix will land before the next compiler release. I've been meaning to prepare a patch myself (after digging through the relevant files and figuring out how they work) but all my GCC time in the last few days has been spent fixing libstdc++'s implementation of the boost concept checks (which were also broken in 3.4.0). jon -- "A thing is not necessarily true because a man dies for it." - Oscar Wilde