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/000149.html | 68 ++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 pipermail/nel/2001-January/000149.html (limited to 'pipermail/nel/2001-January/000149.html') diff --git a/pipermail/nel/2001-January/000149.html b/pipermail/nel/2001-January/000149.html new file mode 100644 index 00000000..04980da8 --- /dev/null +++ b/pipermail/nel/2001-January/000149.html @@ -0,0 +1,68 @@ + + + + [Nel] gcc and non-ANSI + + + + + + +

[Nel] gcc and non-ANSI

+ Vincent Caron + zerodeux@free.fr
+ 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'
+[...]
+
+
+ + + + + + + + + +
+

+ -- cgit v1.2.1