public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/6664: Doesn't differentiate between functions and namespaces as symbols
@ 2002-06-05  7:49 lerdsuwa
  0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2002-06-05  7:49 UTC (permalink / raw)
  To: dale, gcc-bugs, gcc-prs, nobody

Synopsis: Doesn't differentiate between functions and namespaces as symbols

State-Changed-From-To: open->closed
State-Changed-By: lerdsuwa
State-Changed-When: Wed Jun  5 07:49:01 2002
State-Changed-Why:
    Not a bug.  According to the standard section 7.3.1 p2,
      The identifier in an original-namespace-definition
      shall not have been previously defined in the declarative
      region in which the original-namespace-definition appears.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6664


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

* Re: c++/6664: Doesn't differentiate between functions and namespaces as symbols
@ 2002-06-28  8:26 Gabriel Dos Reis
  0 siblings, 0 replies; 4+ messages in thread
From: Gabriel Dos Reis @ 2002-06-28  8:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/6664; it has been noted by GNATS.

From: Gabriel Dos Reis <gdr@codesourcery.com>
To: "Dale Peakall" <dale.peakall@bit-arts.com>
Cc: <lerdsuwa@gcc.gnu.org>, <dale@peakall.net>, <gcc-bugs@gcc.gnu.org>,
   <gcc-gnats@gcc.gnu.org>
Subject: Re: c++/6664: Doesn't differentiate between functions and namespaces as symbols
Date: 28 Jun 2002 17:07:52 +0200

 "Dale Peakall" <dale.peakall@bit-arts.com> writes:
 
 [...]
 
 | The standard C++ header <cmath> should not specify functions at the
 | global scope, that interfere with namespace definitions like the one
 | above.
 | 
 | Can we re-open this defect report as a standard library bug?
 
 I think so.  But it is not high priority.
 
 -- Gaby


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

* RE: c++/6664: Doesn't differentiate between functions and namespaces as symbols
@ 2002-06-28  8:16 Dale Peakall
  0 siblings, 0 replies; 4+ messages in thread
From: Dale Peakall @ 2002-06-28  8:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/6664; it has been noted by GNATS.

From: "Dale Peakall" <dale.peakall@bit-arts.com>
To: <lerdsuwa@gcc.gnu.org>,
	<dale@peakall.net>,
	<gcc-bugs@gcc.gnu.org>,
	<gcc-prs@gcc.gnu.org>,
	<nobody@gcc.gnu.org>,
	<gcc-gnats@gcc.gnu.org>
Cc:  
Subject: RE: c++/6664: Doesn't differentiate between functions and namespaces as symbols
Date: Fri, 28 Jun 2002 15:47:52 +0100

 The example was:
 
 #include <cmath>
 
 namespace log
 {
 	static const int a_var = 0;
 }
 
 int main()
 {}
 
 Fails to compile, due to a conflict between the log function and 
 namespace log.
 
 So the real problem here, is the manner in which the standard library
 imports functions into namespace std with a using directive.
 
 The standard C++ header <cmath> should not specify functions at the
 global scope, that interfere with namespace definitions like the one
 above.
 
 Can we re-open this defect report as a standard library bug?
 
 > -----Original Message-----
 > From: lerdsuwa@gcc.gnu.org [mailto:lerdsuwa@gcc.gnu.org]
 > Sent: 05 June 2002 15:49
 > To: dale@peakall.net; gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org;
 > nobody@gcc.gnu.org
 > Subject: Re: c++/6664: Doesn't differentiate between functions and
 > namespaces as symbols
 > 
 > 
 > Synopsis: Doesn't differentiate between functions and 
 > namespaces as symbols
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: lerdsuwa
 > State-Changed-When: Wed Jun  5 07:49:01 2002
 > State-Changed-Why:
 >     Not a bug.  According to the standard section 7.3.1 p2,
 >       The identifier in an original-namespace-definition
 >       shall not have been previously defined in the declarative
 >       region in which the original-namespace-definition appears.
 > 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&
 > database=gcc&pr=6664
 > 
 > 
 > 
 


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

* c++/6664: Doesn't differentiate between functions and namespaces as symbols
@ 2002-05-15  7:56 dale
  0 siblings, 0 replies; 4+ messages in thread
From: dale @ 2002-05-15  7:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6664
>Category:       c++
>Synopsis:       Doesn't differentiate between functions and namespaces as symbols
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 15 07:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dale Peakall
>Release:        3.1 20020510 (prerelease)
>Organization:
>Environment:
Sparc Solaris 8
>Description:
The compiler fails to differentiate between functions and namespaces as symbols.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-gzip; name="gcc-bug.tgz"; name="gcc-bug.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gcc-bug.tgz"

H4sICHl04jwAA2djYy1idWcudGFyAO1cW2/juhHe1/hXEAlaxFknluRbEu/uKbA4PThAe17avnRx
ICgSpWgrS4okZ+Nd5L93hqQk6kJZG9lbtI0eYpsz/OZCznBISfFs+zKjaTZ9c7xL0+baarWAT03T
53P2qekG/+TXG201X2nzlaGtsF2fLeaLN4sj6lRc2zSzEhAZU+tfVhA4Kj5gc90OHGbGXBNGrY6g
6VEuLx//jeWHV75/DBmarmnL5Vwx/rOFoS/L8V/iPNEXmgH0YyhTv/7Px/+M6OSUjb0dx6cj9vPd
3dYPsks//JA32NFmY4UOCfyQ5o21TtNtmkyDyLaCqR/awdahU+/t28vH2dTeWNn9KfDMgHN+3YN1
NtqHmcZWYl+m2/AyjQIr8VPj6np652fp1H771o5C1/euCpmz+QGgZi9XKUpNh7rgulTSaXEAnQwG
tdB6uNRoc2rg300xAeBnq8jZlV7gIY7Qn8wBypgNx2JIcWJ5G4v4Dg0zcvqn87MxJ58YV7p2cnMz
1VZT44b87a+/nsom5Fh+GjE8E76U+olLAc55T/QrXeDPNIE/ok8ZTUJy+vGUfEMrtT3iUFi2iymM
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Hr8z8/+vmf6vvf6VHeMe5+/1vTjEXj/e/5crF6ff/7B1wnV3gn/UR6m/vkKuVPZZ2c
XiWRY2UWtlkBvtQwh284WU/Mf/42gwhfsGD+eXIW3X2GTtjX/9qgzkfVhlvgw5A+0eALe5r65PSX
jx9vyfkvv/1jTCDyiAGzQlvg241xQhMaUCul49PRf9pb/3tXNf5hAhxBxr741w05/jX2/x/05fI1
/n/AdSbWOPKOresfBi/huMy8xul/zVXEv3iJ9yp7yg4tY1/8V/7/z5L9/5/FarF4jf/X6/V6vV6v
I17/BrcGjnMATgAA


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

end of thread, other threads:[~2002-06-28 15:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-05  7:49 c++/6664: Doesn't differentiate between functions and namespaces as symbols lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2002-06-28  8:26 Gabriel Dos Reis
2002-06-28  8:16 Dale Peakall
2002-05-15  7:56 dale

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