Hi Akos,

On Thu, 2005-06-30 at 19:27 +0200, Akos Balazs wrote:
> 
> Oh... That's so... reassuring. :-)

I hope so, that was it's purpose. ;)

> As a sidenode, there's at least one place in 
> common.i686-pc-linux-gnu-icc.in that explicitly check that the major 
> version number equals to 8 or not (and not less than 8 or not) so that 
> might lead to trouble when people start using the 9.0 versions...

Fixed, thanks.

> I actually patched the source to compile with the '-ansi' switch (and they 
> will probably compile this way with 8.1 and the '-strict_ansi' switch too 
> :), I had to patch the following files:
> 
> ./Source/System/Cluster/Window/BalancedMultiWindow/OSGBalancedMultiWindow.h 
> ./Source/System/NodeCores/Drawables/Geometry/OSGExtrusionGeometry.cpp 
> ./Source/System/NodeCores/Drawables/Geometry/OSGHalfEdgeGraph.h 
> ./Source/Experimental/NewAction/OSGDepthFirstStateAction.h 
> ./Source/Experimental/NewAction/OSGPriorityAction.h
> 
> I can supply the patches if you're interested, but at this point it's 
> little more than nutpicking. :) Apart from the overloaded template in 
> OSGExtrusionGeometry.cpp, which I have no clue why didn't compile (might 
> actually be a compiler bug :) it was access problems with nested classes. 
> I checked the standard and it seems that both 7.1 (with the '-ansi' 
> switch) and 8.1 (with the '-strict_ansi' switch) were right: nested 
> classes have the same accessibilty rules as outside classes, so you have 
> to explicitly declare them as friends in order to access other nested 
> classes in the private part of the encompassing class.

I'd be interested. Given that it seems to be an actual bug that is just
ignored by most compilers doesn't make it right.

Yours

        Dirk




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to