This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13529] [3.4 regression] offsetof() with member-designator containing member access broken


------- Additional Comments From dbaron at dbaron dot org  2003-12-31 03:33 -------
I should be a little clearer.  The bug is that attachment 5384 fails to compile
with the error:

/usr/local/gcc-3.4-20031231/bin/g++ offsetof.cpp
offsetof.cpp: In function `int main()':
offsetof.cpp:9: error: `.' cannot appear in a constant-expression


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13529


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]