nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nel] gcc and non-ANSI


From: Vincent Caron
Subject: [Nel] gcc and non-ANSI
Date: Tue, 23 Jan 2001 14:19:00 +0100

I'm using gcc/g++ 2.95.3, and it seems that it doesn't like anonymous structures
(see gcc output below). I read that it's definitively not a standard feature,
and was orginally a MS VC++ extension, that was more or less adopted by others.
Seems that the gcc guy didn't approved it, but I didn't checked in depth. I
guess others are using the egcs c++ (1.1.2) frontend ?
I personnaly don't approve being able to acces a member without naming the
structure ...

In file included from driver_opengl.h:43,
                 from driver_opengl.cpp:45:
../../../../include/nel/3d/material.h:264: anonymous class type not used to
declare any objects
../../../../include/nel/3d/material.h: In method `void
NL3D::CMaterial::CTexEnv::setDefault()':
../../../../include/nel/3d/material.h:273: `union
NL3D::CMaterial::CTexEnv::{anonymous}' has no member named `OpRGB'
[...]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]