Hi Paolo, >> exactly: just g++ -D__cplusplus=1 or something. > > Irrespective of what the Standard strictly says, I think the latter would > only make sense if it would allow the user to return, consistently, to the > pre-4.7 behavior, for compatibility reasons or something. Is it the case? Is > the above enough for that? Or some of the changes which went in are effective > anyway even if __cplusplus is reverted by hand to 1? I think this is the > question deciding what we really want to do.
I'm pretty sure this is the case for Solaris. The other changes we've made to support __cplusplus 199711L were no-ops without the last one to change __cplusplus from 1 to the C++ 98 value. So, redefining __cplusplus to 1 should return us back to the old status. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University