[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Malloc.h bug ?
From: |
Yann Collete |
Subject: |
Malloc.h bug ? |
Date: |
Fri, 25 Oct 2002 16:07:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020208 |
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 ?
# define __THROW throw ()
# else
# define __THROW
# endif
Your sincerely,
Yann COLLETTE
- Malloc.h bug ?,
Yann Collete <=