public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3842: Non implemented feature affecting compile
@ 2001-07-28 19:45 aoliva
  0 siblings, 0 replies; 2+ messages in thread
From: aoliva @ 2001-07-28 19:45 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, marian, nobody

Synopsis: Non implemented feature affecting compile

State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Sat Jul 28 19:45:17 2001
State-Changed-Why:
    `export' is a C++ keyword, so you can't name a function `export'.  Even though the `export' keyword hasn't been implemented yet, it's doing you a favor by rejecting the construct, like any C++ compiler should do.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3842&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

* c++/3842: Non implemented feature affecting compile
@ 2001-07-27  8:56 marian
  0 siblings, 0 replies; 2+ messages in thread
From: marian @ 2001-07-27  8:56 UTC (permalink / raw)
  To: gcc-gnats

>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==


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-28 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-28 19:45 c++/3842: Non implemented feature affecting compile aoliva
  -- strict thread matches above, loose matches on Subject: below --
2001-07-27  8:56 marian

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).