public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/59087] New: including complex.h in C++11/1y mode should not include C's complex.h
@ 2013-11-12 12:49 kikairoya at gmail dot com
  2013-11-12 13:16 ` [Bug libstdc++/59087] " glisse at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: kikairoya at gmail dot com @ 2013-11-12 12:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59087

            Bug ID: 59087
           Summary: including complex.h in C++11/1y mode should not
                    include C's complex.h
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kikairoya at gmail dot com

working draft N3691 says:

 26.4.10 Header <ccomplex>
  The header behaves as if it simply includes the header <complex>.

 D.5 C standard library headers
  Every C header, each of which has a *name* of the form *name.h*, behaves as
  if each name placed in the standard library namespace by the corresponding
  *cname* header is placed within the global namespace scope.


so, including <complex.h> should behaves as same as including <complex>
except namespace scope, but libstdc++'s one includes system's
<complex.h> unnecessarily.


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

end of thread, other threads:[~2014-09-04  4:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-12 12:49 [Bug libstdc++/59087] New: including complex.h in C++11/1y mode should not include C's complex.h kikairoya at gmail dot com
2013-11-12 13:16 ` [Bug libstdc++/59087] " glisse at gcc dot gnu.org
2013-11-12 14:23 ` kikairoya at gmail dot com
2013-11-12 14:41 ` [Bug libstdc++/59087] Issues including complex.h in C++11/1y mode because of " glisse at gcc dot gnu.org
2013-11-13 15:47 ` glisse at gcc dot gnu.org
2013-11-14  0:29 ` 3dw4rd at verizon dot net
2013-11-14 11:58 ` 3dw4rd at verizon dot net
2013-11-14 15:30 ` 3dw4rd at verizon dot net
2013-11-14 15:43 ` glisse at gcc dot gnu.org
2014-01-02 22:46 ` glisse at gcc dot gnu.org
2014-01-02 23:04 ` glisse at gcc dot gnu.org
2014-09-03 19:00 ` vlovich at gmail dot com
2014-09-03 19:05 ` vlovich at gmail dot com
2014-09-03 19:20 ` glisse at gcc dot gnu.org
2014-09-03 19:37 ` vlovich at gmail dot com
2014-09-03 19:44 ` glisse at gcc dot gnu.org
2014-09-04  4:52 ` vlovich at gmail dot com

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