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: unassig...@gcc.gnu.org ReportedBy: r...@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.