[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-16 Thread rguenther at suse dot de
--- Comment #10 from rguenther at suse dot de 2007-11-16 09:45 --- Subject: Re: [4.3 Regression] Confusing error message with missing #include algorithm On Thu, 15 Nov 2007, pcarlini at suse dot de wrote: --- Comment #8 from pcarlini at suse dot de 2007-11-15 19:07 ---

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-15 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-11-15 11:59 --- Note that the issue is unrelated to the header optimization work: is caused by algorithmfwd.h, added in the occasion of the parallel STL work. I'm going to look a bit into it, anyway, if a simple solution I have in mind

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-15 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-11-15 13:10 --- I meant bits/stl_algobase.h, of course. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34105

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-15 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-11-15 13:06 --- Something like the attached (lightly tested) fixed the problem for normal mode, the error becomes: 34105.cc: In function ‘int main()’: 34105.cc:8: error: ‘find’ is not a member of ‘std’ however, it doesn't for parallel

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-15 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2007-11-15 13:09 --- By the way, while we are talking about those QoI issues, I think it's in any case better not including something like algorithmfwd.h in algobase.h: it's relatively big and we are doing our best to keep algobase.h, the core

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-15 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-11-15 13:04 --- Created an attachment (id=14555) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14555action=view) Draft patch for normal mode -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34105

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-15 Thread pcarlini at suse dot de
--- Comment #8 from pcarlini at suse dot de 2007-11-15 19:07 --- Fixed. -- pcarlini at suse dot de changed: What|Removed |Added Status|ASSIGNED

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-15 Thread paolo at gcc dot gnu dot org
--- Comment #7 from paolo at gcc dot gnu dot org 2007-11-15 19:05 --- Subject: Bug 34105 Author: paolo Date: Thu Nov 15 19:05:17 2007 New Revision: 130207 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130207 Log: 2007-11-15 Paolo Carlini [EMAIL PROTECTED] PR

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-15 Thread pcarlini at suse dot de
--- Comment #6 from pcarlini at suse dot de 2007-11-15 18:14 --- I'm finishing testing a complete patch. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/34105] [4.3 Regression] Confusing error message with missing #include algorithm

2007-11-15 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2007-11-15 21:54 --- Awesome. Looks good. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34105