[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
///usr/include/stdlib.h:617: warning: '__malloc__' attribute ignored
From: |
Joel E. Denny |
Subject: |
///usr/include/stdlib.h:617: warning: '__malloc__' attribute ignored |
Date: |
Mon, 19 Feb 2007 01:54:37 -0500 (EST) |
When I try to build CVS Bison now, I get this warning repeatedly, and it
breaks ./configure --enable-gcc-warnings:
///usr/include/stdlib.h:617: warning: '__malloc__' attribute ignored
Here's my Gcc:
% gcc --version
gcc (GCC) 4.1.0
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
A complete example warning:
make[2]: Entering directory `/home/jdenny/bison/src'
if gcc -std=gnu99 -I. -I. -I../lib -I../lib -Wall -Wextra
-Wno-sign-compare -Wcast-align -Wcast-qual -Wformat -Wpointer-arith
-Wwrite-strings -Wbad-function-cast -Wmissing-declarations
-Wmissing-prototypes -Wshadow -Wstrict-prototypes -Werror -g -O2 -MT LR0.o
-MD -MP -MF ".deps/LR0.Tpo" -c -o LR0.o LR0.c; \
then mv -f ".deps/LR0.Tpo" ".deps/LR0.Po"; else rm -f ".deps/LR0.Tpo";
exit 1; fi
cc1: warnings being treated as errors
In file included from ../lib/stdlib.h:28,
from system.h:41,
from LR0.c:28:
///usr/include/stdlib.h:617: warning: '__malloc__' attribute ignored
make[2]: *** [LR0.o] Error 1
make[2]: Leaving directory `/home/jdenny/bison/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jdenny/bison/src'
make: *** [all-recursive] Error 1
- ///usr/include/stdlib.h:617: warning: '__malloc__' attribute ignored,
Joel E. Denny <=