
On Friday 24 March 2006 16:17, Anders Johansson wrote:
On Friday 24 March 2006 22:58, Darrell Cormier wrote:
I am running SuSE Linux 10.0 which ships with g++ 4.0.2. However, several of my programs that were working fine under 3.3.5 will not build under 4.0.2. I consistently get the following errors:
<snip>
This happens at regular intervals and is not related to any particular version of g++. If you google for the error message you'll see it reported against multiple versions of it.
The problem doesn't even seem to be in gcc, it seems that something #define:s min and max before sstream gets parsed, so the std::min and std::max lines break
How about saying what it is you're trying to compile, that's where the fix should be (whatever it is, it shouldn't be #defining those things)
-- Certified: Yes. Certifiable: of course! jabber ID: anders@rydsbo.net
Hmmm. Interesting question. I am building projects that have several libraries and header files that have been built by my counter part in another part of the world. Unfortunately he is on vacation for some time yet so have not had the opportunity to get his opinion. If I just compile my development it works fine. It is not until the build that I have problems. Everything works in earlier versions of g++ (3.3.5 and 3.3.6 at least). I will have to try to pinpoint which file is giving me grief. Thanks, Darrell