From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- pipermail/nel/2001-January/000150.html | 83 ++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 pipermail/nel/2001-January/000150.html (limited to 'pipermail/nel/2001-January/000150.html') diff --git a/pipermail/nel/2001-January/000150.html b/pipermail/nel/2001-January/000150.html new file mode 100644 index 00000000..33859c6f --- /dev/null +++ b/pipermail/nel/2001-January/000150.html @@ -0,0 +1,83 @@ + + + + [Nel] gcc and non-ANSI + + + + + + +

[Nel] gcc and non-ANSI

+ Vianney Lecroart + lecroart@nevrax.com
+ Tue, 23 Jan 2001 14:27:21 +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'
+
+Yes, we know that. In fact, it compiles with no warning with gcc 2.96.
+If you could give me a link to a document that say it s not ANSI, i ll be
+glad.
+
+Regards,
+
+Vianney Lecroart
+
+
+
+
+ + + + + + + + + + +
+

+ -- cgit v1.2.1