aboutsummaryrefslogtreecommitdiff
path: root/pipermail/nel/2001-January/000150.html
blob: 33859c6f891aa7b73d6eb51ed2281f1c239cbf97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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>&gt;<i> I'm using gcc/g++ 2.95.3, and it seems that it doesn't like anonymous
</I>structures
&gt;<i> (see gcc output below). I read that it's definitively not a standard
</I>feature,
&gt;<i> and was orginally a MS VC++ extension, that was more or less adopted by
</I>others.
&gt;<i> Seems that the gcc guy didn't approved it, but I didn't checked in depth.
</I>I
&gt;<i> guess others are using the egcs c++ (1.1.2) frontend ?
</I>&gt;<i> I personnaly don't approve being able to acces a member without naming the
</I>&gt;<i> structure ...
</I>&gt;<i>
</I>&gt;<i> In file included from driver_opengl.h:43,
</I>&gt;<i>                  from driver_opengl.cpp:45:
</I>&gt;<i> ../../../../include/nel/3d/material.h:264: anonymous class type not used
</I>to
&gt;<i> declare any objects
</I>&gt;<i> ../../../../include/nel/3d/material.h: In method `void
</I>&gt;<i> NL3D::CMaterial::CTexEnv::setDefault()':
</I>&gt;<i> ../../../../include/nel/3d/material.h:273: `union
</I>&gt;<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>