public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/55631] New: Several ext/ headers can not be #included on their own @ 2012-12-09 16:55 ppluzhnikov at google dot com 2012-12-09 16:56 ` [Bug c++/55631] " ppluzhnikov at google dot com ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: ppluzhnikov at google dot com @ 2012-12-09 16:55 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55631 Bug #: 55631 Summary: Several ext/ headers can not be #included on their own Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: ppluzhnikov@google.com The following headers: ext/string_conversions.h ext/alloc_traits.h ext/pointer.h can't be '#included' on their own (using "4.8.0 20121209"): echo "#include <ext/string_conversions.h>" | g++ -xc++ -c - In file included from <stdin>:1:0: include/c++/4.8.0/ext/string_conversions.h:52:20: error: no default argument for ‘_CharT’ _Base... __base) ^ include/c++/4.8.0/ext/string_conversions.h:52:20: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 include/c++/4.8.0/ext/string_conversions.h:81:28: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 const _CharT* __fmt, ...) ^ The above error should probably be fixed with: #if __cplusplus < 201103L # include <bits/c++0x_warning.h> #else (the file does compile fine in c++11 mode.) echo "#include <ext/alloc_traits.h>" | g++ -xc++ -c - -std=c++11 In file included from include/c++/4.8.0/bits/alloc_traits.h:35:0, from include/c++/4.8.0/ext/alloc_traits.h:35, from <stdin>:1: include/c++/4.8.0/bits/ptr_traits.h: In static member function ‘static _Tp* std::pointer_traits<_Tp*>::pointer_to(typename std::__ptrtr_not_void<_Tp>::__type&)’: include/c++/4.8.0/bits/ptr_traits.h:174:16: error: ‘addressof’ is not a member of ‘std’ ... Same problem as above for ext/pointer.h ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/55631] Several ext/ headers can not be #included on their own 2012-12-09 16:55 [Bug c++/55631] New: Several ext/ headers can not be #included on their own ppluzhnikov at google dot com @ 2012-12-09 16:56 ` ppluzhnikov at google dot com 2012-12-09 18:45 ` redi at gcc dot gnu.org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: ppluzhnikov at google dot com @ 2012-12-09 16:56 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55631 --- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2012-12-09 16:55:52 UTC --- Google ref b/7699405 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/55631] Several ext/ headers can not be #included on their own 2012-12-09 16:55 [Bug c++/55631] New: Several ext/ headers can not be #included on their own ppluzhnikov at google dot com 2012-12-09 16:56 ` [Bug c++/55631] " ppluzhnikov at google dot com @ 2012-12-09 18:45 ` redi at gcc dot gnu.org 2012-12-11 22:28 ` redi at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: redi at gcc dot gnu.org @ 2012-12-09 18:45 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55631 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-12-09 AssignedTo|unassigned at gcc dot |redi at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/55631] Several ext/ headers can not be #included on their own 2012-12-09 16:55 [Bug c++/55631] New: Several ext/ headers can not be #included on their own ppluzhnikov at google dot com 2012-12-09 16:56 ` [Bug c++/55631] " ppluzhnikov at google dot com 2012-12-09 18:45 ` redi at gcc dot gnu.org @ 2012-12-11 22:28 ` redi at gcc dot gnu.org 2012-12-11 22:31 ` [Bug libstdc++/55631] " redi at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: redi at gcc dot gnu.org @ 2012-12-11 22:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55631 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-12-11 22:28:06 UTC --- Author: redi Date: Tue Dec 11 22:28:01 2012 New Revision: 194429 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194429 Log: PR libstdc++/55631 * include/ext/alloc_traits.h: Include missing header. * include/ext/pointer.h: Likewise. * include/ext/string_conversions.h: Require C++11. * libsupc++/initializer_list: Reindent. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/ext/alloc_traits.h trunk/libstdc++-v3/include/ext/pointer.h trunk/libstdc++-v3/include/ext/string_conversions.h trunk/libstdc++-v3/libsupc++/initializer_list ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/55631] Several ext/ headers can not be #included on their own 2012-12-09 16:55 [Bug c++/55631] New: Several ext/ headers can not be #included on their own ppluzhnikov at google dot com ` (2 preceding siblings ...) 2012-12-11 22:28 ` redi at gcc dot gnu.org @ 2012-12-11 22:31 ` redi at gcc dot gnu.org 2012-12-12 10:20 ` [Bug libstdc++/55631] [4.7/4.8 Regression] " redi at gcc dot gnu.org 2012-12-12 23:02 ` redi at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: redi at gcc dot gnu.org @ 2012-12-11 22:31 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55631 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Component|c++ |libstdc++ Resolution| |FIXED Target Milestone|--- |4.8.0 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-12-11 22:31:18 UTC --- Fixed on trunk. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/55631] [4.7/4.8 Regression] Several ext/ headers can not be #included on their own 2012-12-09 16:55 [Bug c++/55631] New: Several ext/ headers can not be #included on their own ppluzhnikov at google dot com ` (3 preceding siblings ...) 2012-12-11 22:31 ` [Bug libstdc++/55631] " redi at gcc dot gnu.org @ 2012-12-12 10:20 ` redi at gcc dot gnu.org 2012-12-12 23:02 ` redi at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: redi at gcc dot gnu.org @ 2012-12-12 10:20 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55631 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.6.3 Version|unknown |4.7.2 Target Milestone|4.8.0 |4.7.3 Summary|Several ext/ headers can |[4.7/4.8 Regression] |not be #included on their |Several ext/ headers can |own |not be #included on their | |own --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-12-12 10:19:41 UTC --- The <ext/pointer.h> error is a regression so I'll fix the 4.7 branch too. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/55631] [4.7/4.8 Regression] Several ext/ headers can not be #included on their own 2012-12-09 16:55 [Bug c++/55631] New: Several ext/ headers can not be #included on their own ppluzhnikov at google dot com ` (4 preceding siblings ...) 2012-12-12 10:20 ` [Bug libstdc++/55631] [4.7/4.8 Regression] " redi at gcc dot gnu.org @ 2012-12-12 23:02 ` redi at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: redi at gcc dot gnu.org @ 2012-12-12 23:02 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55631 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-12-12 23:01:51 UTC --- Author: redi Date: Wed Dec 12 23:01:40 2012 New Revision: 194457 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194457 Log: PR libstdc++/55631 * include/ext/alloc_traits.h: Include missing header. * include/ext/pointer.h: Likewise. * include/ext/string_conversions.h: Require C++11. * libsupc++/initializer_list: Reindent. Modified: branches/gcc-4_7-branch/libstdc++-v3/ChangeLog branches/gcc-4_7-branch/libstdc++-v3/include/ext/alloc_traits.h branches/gcc-4_7-branch/libstdc++-v3/include/ext/pointer.h branches/gcc-4_7-branch/libstdc++-v3/include/ext/string_conversions.h branches/gcc-4_7-branch/libstdc++-v3/libsupc++/initializer_list ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-12-12 23:02 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-12-09 16:55 [Bug c++/55631] New: Several ext/ headers can not be #included on their own ppluzhnikov at google dot com 2012-12-09 16:56 ` [Bug c++/55631] " ppluzhnikov at google dot com 2012-12-09 18:45 ` redi at gcc dot gnu.org 2012-12-11 22:28 ` redi at gcc dot gnu.org 2012-12-11 22:31 ` [Bug libstdc++/55631] " redi at gcc dot gnu.org 2012-12-12 10:20 ` [Bug libstdc++/55631] [4.7/4.8 Regression] " redi at gcc dot gnu.org 2012-12-12 23:02 ` redi at gcc dot gnu.org
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).