This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/53678] New: [4.6/4.7/4.8 Regression] namespace pollution on NetBSD
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Jun 2012 23:26:59 +0000
- Subject: [Bug libstdc++/53678] New: [4.6/4.7/4.8 Regression] namespace pollution on NetBSD
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53678
Bug #: 53678
Summary: [4.6/4.7/4.8 Regression] namespace pollution on NetBSD
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: redi@gcc.gnu.org
Host: *-*-netbsd5.1
Target: *-*-netbsd5.1
Build: *-*-netbsd5.1
Created attachment 27623
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27623
patch for ctype_base.h
The fix for PR 47045 pollutes the global namespace:
#include <locale>
int main()
{
int NetBSD = 1;
}
r.cc: In function 'int main()':
r.cc:5:7: error: expected unqualified-id before numeric constant
I received the attached patch from JÃrg Sonnenberger, a NetBSD toolchain
developer, and intend to commit it. This PR is to record the regression.