This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/2042: Traditional C++ syntax error on id "export"
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/2042: Traditional C++ syntax error on id "export"
- From: herter at pyramid dot com
- Date: 20 Feb 2001 21:35:46 -0000
- Reply-To: herter at pyramid dot com
>Number: 2042
>Category: c++
>Synopsis: Traditional C++ syntax error on id "export"
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 20 13:36:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Thomas Herter
>Release: 2.95.2
>Organization:
>Environment:
Linux NN 2.2.16-SMP #1 SMP Wed Aug 2 20:01:21 GMT 2000 i686
>Description:
Code like this:
static int export(int rtype, void* rvalue, void* rname=NULL);
can not be translated even with -traditional-cpp
>How-To-Repeat:
g++ -c -traditional-cpp t1.C
>Fix:
#define may be used to alias "export" to another id.
>Release-Note:
>Audit-Trail:
>Unformatted: