This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/3933: compiler borks on expression with "export" in it
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/3933: compiler borks on expression with "export" in it
- From: fwai at rsasecurity dot com
- Date: 3 Aug 2001 23:20:04 -0000
- Reply-To: fwai at rsasecurity dot com
>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: