When trying to compile the latest CVS version of OpenSG with MSVC .NET 7.0 I get the following error:

'osg::PlyProperty' has a non-aggregate data member 'osg::PlyProperty::name' : Types with a non-aggregate data member are not aggregate

It seems that there is a limitation in MSVC 7.0 that does not allow an aggregate type to contain a non-aggregate member. You can read more about this limitation at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndeepc/html/deep07232002.asp

In order to get around this temporarily you can change the definition of

struct PlyProperty {    /* description of a property */
 std::string name;
 ...
};

to

struct PlyProperty {    /* description of a property */
 char* name;
  ...
};

Hope that this helps,
Aron


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to