diff options
Diffstat (limited to '')
-rw-r--r-- | pipermail/nel/2001-January/000150.html | 83 |
1 files changed, 83 insertions, 0 deletions
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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Nel] gcc and non-ANSI</TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:lecroart%40nevrax.com"> + <LINK REL="Previous" HREF="000149.html"> + <LINK REL="Next" HREF="000156.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Nel] gcc and non-ANSI</H1> + <B>Vianney Lecroart</B> + <A HREF="mailto:lecroart%40nevrax.com" + TITLE="[Nel] gcc and non-ANSI">lecroart@nevrax.com</A><BR> + <I>Tue, 23 Jan 2001 14:27:21 +0100</I> + <P><UL> + <LI> Previous message: <A HREF="000149.html">[Nel] gcc and non-ANSI</A></li> + <LI> Next message: <A HREF="000156.html">[Nel] gcc and non-ANSI</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#150">[ date ]</a> + <a href="thread.html#150">[ thread ]</a> + <a href="subject.html#150">[ subject ]</a> + <a href="author.html#150">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>><i> I'm using gcc/g++ 2.95.3, and it seems that it doesn't like anonymous +</I>structures +><i> (see gcc output below). I read that it's definitively not a standard +</I>feature, +><i> and was orginally a MS VC++ extension, that was more or less adopted by +</I>others. +><i> Seems that the gcc guy didn't approved it, but I didn't checked in depth. +</I>I +><i> guess others are using the egcs c++ (1.1.2) frontend ? +</I>><i> I personnaly don't approve being able to acces a member without naming the +</I>><i> structure ... +</I>><i> +</I>><i> In file included from driver_opengl.h:43, +</I>><i> from driver_opengl.cpp:45: +</I>><i> ../../../../include/nel/3d/material.h:264: anonymous class type not used +</I>to +><i> declare any objects +</I>><i> ../../../../include/nel/3d/material.h: In method `void +</I>><i> NL3D::CMaterial::CTexEnv::setDefault()': +</I>><i> ../../../../include/nel/3d/material.h:273: `union +</I>><i> NL3D::CMaterial::CTexEnv::{anonymous}' has no member named `OpRGB' +</I> +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 + + + +</pre> + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI> Previous message: <A HREF="000149.html">[Nel] gcc and non-ANSI</A></li> + <LI> Next message: <A HREF="000156.html">[Nel] gcc and non-ANSI</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#150">[ date ]</a> + <a href="thread.html#150">[ thread ]</a> + <a href="subject.html#150">[ subject ]</a> + <a href="author.html#150">[ author ]</a> + </LI> + </UL> +</body></html> |