Re: base gcc and _GLIBCXX_USE_C99

2013-02-14 Thread David Chisnall
On 4 Feb 2013, at 03:09, Pedro Giffuni p...@freebsd.org wrote: Those are surely in this list: https://wiki.freebsd.org/MissingMathStuff I think we are using stubs for libc++. We are using stubs for libc++, because libc++ is a C++11 standard library, which expects the C99 math functions.

Re: base gcc and _GLIBCXX_USE_C99

2013-02-13 Thread Pedro Giffuni
Hello; On 02/03/2013 17:33, Dimitry Andric wrote: On 2013-02-01 15:46, Pedro Giffuni wrote: On 02/01/2013 08:01, Andriy Gapon wrote: on 28/01/2013 17:11 Andriy Gapon said the following: I wonder why the following is the case for the base gcc. /usr/include/c++/4.2/bits/c++config.h: /* Define

Re: base gcc and _GLIBCXX_USE_C99

2013-02-03 Thread Dimitry Andric
On 2013-02-01 15:46, Pedro Giffuni wrote: On 02/01/2013 08:01, Andriy Gapon wrote: on 28/01/2013 17:11 Andriy Gapon said the following: I wonder why the following is the case for the base gcc. /usr/include/c++/4.2/bits/c++config.h: /* Define if C99 functions or macros from wchar.h, math.h,

Re: base gcc and _GLIBCXX_USE_C99

2013-02-03 Thread Pedro Giffuni
Hello Dimitry; - Messaggio originale - Da: Dimitry AndricĀ  I had a bit more in-depth look at our current libstdc++ configuration. I took the original gcc 4.2.1 release tarball, modified a few autoconf related scripts to cope with freebsd10.0 being the current version, and did a

Re: base gcc and _GLIBCXX_USE_C99

2013-02-01 Thread Andriy Gapon
[ping] on 28/01/2013 17:11 Andriy Gapon said the following: Guys, I wonder why the following is the case for the base gcc. /usr/include/c++/4.2/bits/c++config.h: /* Define if C99 functions or macros from wchar.h, math.h, complex.h, stdio.h, and stdlib.h can be used or exposed. */

Re: base gcc and _GLIBCXX_USE_C99

2013-02-01 Thread Andriy Gapon
on 01/02/2013 15:08 Dimitry Andric said the following: On 2013-02-01 14:01, Andriy Gapon wrote: on 28/01/2013 17:11 Andriy Gapon said the following: I wonder why the following is the case for the base gcc. /usr/include/c++/4.2/bits/c++config.h: /* Define if C99 functions or macros from

Re: base gcc and _GLIBCXX_USE_C99

2013-02-01 Thread David Chisnall
On 1 Feb 2013, at 13:31, Andriy Gapon wrote: cstdlib would provide e.g. std::strtoull only when _GLIBCXX_USE_C99 is defined. This is entirely consistent with the standard. strtoull() should only be visible when compiling in C++11 mode, it is not part of C++98 / C++03. David

Re: base gcc and _GLIBCXX_USE_C99

2013-02-01 Thread Pedro Giffuni
Hello; On 02/01/2013 08:01, Andriy Gapon wrote: [ping] on 28/01/2013 17:11 Andriy Gapon said the following: Guys, I wonder why the following is the case for the base gcc. /usr/include/c++/4.2/bits/c++config.h: /* Define if C99 functions or macros from wchar.h, math.h, complex.h,