preprocessor and gcc specific forms
Richard Henderson
rth@redhat.com
Tue Feb 20 12:39:00 GMT 2001
On Tue, Feb 20, 2001 at 02:15:57PM -0600, Kathleen Fisher wrote:
> The reason __THROW didn't get defined to nothing in sys/cdefs.h is that
> the define is within the scope of an #ifdef __GNUC__, as shown below.
In glibc 2.2 final, things are done like so:
: #else /* Not GCC. */
:
: # define __inline /* No inline functions. */
:
: # define __THROW
: # define __P(args) args
so this was fixed at some point after whatever version
is installed on your machine.
r~
More information about the Gcc-bugs
mailing list