[Bug c++/23273] gcc doesn't compile the stl headers

2005-08-22 Thread gcc-bugzilla2 at imperialviolet dot org
--- Additional Comments From gcc-bugzilla2 at imperialviolet dot org 2005-08-22 12:11 --- I have the same problem when building Gambit (a Scheme->C compiler). Since the original reporter doesn't seem to have replied to the request for a -save-temps file I thought that mine cou

[Bug c++/23273] gcc doesn't compile the stl headers

2005-08-22 Thread gcc-bugzilla2 at imperialviolet dot org
--- Additional Comments From gcc-bugzilla2 at imperialviolet dot org 2005-08-22 13:00 --- An uncomfortable, but functional, solution this this problem is to replace std::max with max on each of the erroring lines. Since the STL lives in the std namespace anyway I think this should work