"BG / Galaxy" <[EMAIL PROTECTED]> writes: > I recently upgraded my system from Solaris2.5.1/gcc3.3.2 to > Solaris7/gcc3.4.6. > When recompiling my project, I often get errors in gcc files complaining > about lines using std::min or std::max, > ie:
... > /usr/local/lib/gcc/sparc-sun-solaris2.7/3.4.6/../../../../include/c++/3.4.6/ > bits/stl_bvector.h:522: error: expected unqualified-id before '(' token Wrong mailing list. Use [EMAIL PROTECTED] for these sorts of questions. The most likely explanation is that some header file you include before is doing #define max ... and thus breaking the use of std::max. Please follow up to gcc-help. Thanks. Ian