This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/3842: Non implemented feature affecting compile
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/3842: Non implemented feature affecting compile
- From: marian at mail dot jozep dot com dot au
- Date: 27 Jul 2001 15:46:37 -0000
- Reply-To: marian at mail dot jozep dot com dot au
>Number: 3842
>Category: c++
>Synopsis: Non implemented feature affecting compile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 27 08:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: marian
>Release: gcc version 2.96 20000731
>Organization:
>Environment:
(Red Hat Linux 7.1 2.96-85)
>Description:
When using export as a function name under c++ the compiler
reports the following
export.C:11: warning: keyword 'export' not implemented and will be
ignored.
Cannot have an export function name under C++.
>How-To-Repeat:
Just compile fails every time!!
gcc export.C
>Fix:
None short of renaming the function.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="export.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="export.C"
CiNpbmNsdWRlIDxzdGRpby5oPgoKdm9pZCBleHBvcnQoaW50KTsKCmludCBtYWluKGludCBhcmdj
LCBjaGFyICphcmd2W10pCnsKCWV4cG9ydCg1KTsKfQoKdm9pZCBleHBvcnQoaW50IG51bWJlcikK
ewoJcHJpbnRmKCIldVxuIixudW1iZXIpOwp9Cg==