[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Malloc.h bug ?
From: |
Andreas Jaeger |
Subject: |
Re: Malloc.h bug ? |
Date: |
Mon, 28 Oct 2002 13:43:24 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux) |
Yann Collete <address@hidden> writes:
> Hello,
>
> I think I've found a bug in /usr/include/malloc.h
> The version of malloc.h is VERSION 2.6.4-pt Wed Dec 4 00:35:54 MET 1996.
>
> /* GCC can always grok prototypes. For C++ programs we add throw()
> to help it optimize the function calls. But this works only with
> gcc 2.8.x and egcs. */
> # if defined __cplusplus && (__GNUC__ >= 3 || __GNUC_MINOR__ >= 8)
> ^
> |
> should be 2 ?
This is correct: Either gcc 2.8 or newer or gcc 3.x is ok,
Andreas
> # define __THROW throw ()
> # else
> # define __THROW
> # endif Your sincerely,
>
> Yann COLLETTE
>
>
>
> _______________________________________________
> Bug-glibc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-glibc
>
Andreas
--
Andreas Jaeger
SuSE Labs address@hidden
private address@hidden
http://www.suse.de/~aj
- Malloc.h bug ?, Yann Collete, 2002/10/25
- Re: Malloc.h bug ?,
Andreas Jaeger <=