public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3933: compiler borks on expression with "export" in it
@ 2001-08-03 16:47 aoliva
0 siblings, 0 replies; 2+ messages in thread
From: aoliva @ 2001-08-03 16:47 UTC (permalink / raw)
To: fwai, gcc-bugs, gcc-prs, nobody
Synopsis: compiler borks on expression with "export" in it
State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Fri Aug 3 16:47:47 2001
State-Changed-Why:
`export' is a C++ keyword, just like class, template, typename, etc. It is not regarded as a non-keyword just because it is not implemented yet.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3933&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/3933: compiler borks on expression with "export" in it
@ 2001-08-03 16:26 fwai
0 siblings, 0 replies; 2+ messages in thread
From: fwai @ 2001-08-03 16:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 3933
>Category: c++
>Synopsis: compiler borks on expression with "export" in it
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 03 16:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: francis wai
>Release: gcc 2.95.2
>Organization:
>Environment:
sparc-sun-solaris2.6
>Description:
gcc appears to swallow 'export' regardless of
whether it is part of an expression or declaration.
compiler output:
3: warning: keyword 'export' not implemented and will be ignored
3: parse error before =
>How-To-Repeat:
/*
Say a C struct with a field named export.
Or, ...
*/
extern "C" { struct X { int export; }; };
void f() { X x; x.export = 1; }
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-03 16:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-03 16:47 c++/3933: compiler borks on expression with "export" in it aoliva
-- strict thread matches above, loose matches on Subject: below --
2001-08-03 16:26 fwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).