public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Giacomo Catenazzi <cate@math.ethz.ch>
To: pme@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: libstdc++/3026
Date: Thu, 07 Jun 2001 00:56:00 -0000	[thread overview]
Message-ID: <20010607075602.23535.qmail@sourceware.cygnus.com> (raw)

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

From: Giacomo Catenazzi <cate@math.ethz.ch>
To: Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr>
Cc: pme@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/3026
Date: Thu, 07 Jun 2001 09:52:14 +0200

 Gabriel Dos Reis wrote:
 > 
 > Giacomo Catenazzi <cate@math.ethz.ch> writes:
 > | 
 > |  Ok, but there is also the main problem:
 > |  why not to change also ::acosl into std::acosl (and this change
 > |  for few other math functions) ?
 > 
 > Ideally we should be doing something to that effect.  But the details
 > and issues aren't tht crystal clear -- trust me, we're working on
 > fixes.
 > 
 > -- Gaby
 
 An other problem: Should '#include <complex>' define functions/classes
 in std namespace, without exporting it in global namespace?
 Now <complex> and <complex.h> are the same, and both use global
 namespace.
 
 [
 My problem:
 I works on a huge numeric library. It define 'real' as normal float type.
 Now I should add templates to support complex numbers.
 But complex.h uses 'real' as function (to return the real part of a
 complex number).
 Nesting the header file in a 'foo' namespace was the workaround for
 gcc 2.9x. (with an addithin: using ::istream and ostream).
 In pre 3.0 it doesn't works, thus this bug report.
 Now I'm searching a manner to split the global (library namespace)
 with the complex namespace. (The library is too huge to rename
 the library 'real' type).
 ]
 
 If you define the whole complex library in std namespace, I think
 the problem is solved. (but some bad preprocessors macros for
 worksaround in gcc 2.9x).
 
 	giacomo


             reply	other threads:[~2001-06-07  0:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-07  0:56 Giacomo Catenazzi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-07  9:26 libstdc++/3026 Gabriel Dos Reis
2001-06-07  8:06 libstdc++/3026 Catenazzi, Giacomo Amabile
2001-06-07  5:46 libstdc++/3026 Gabriel Dos Reis
2001-06-06 11:16 libstdc++/3026 Gabriel Dos Reis
2001-06-06  8:36 libstdc++/3026 Giacomo Catenazzi
2001-06-05 13:16 libstdc++/3026 Gabriel Dos Reis
2001-06-05 10:06 libstdc++/3026 Benjamin Kosnik
2001-06-05  9:36 libstdc++/3026 pme
2001-06-04 11:06 libstdc++/3026 bkoz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010607075602.23535.qmail@sourceware.cygnus.com \
    --to=cate@math.ethz.ch \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=pme@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).