This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
BUILD ON DARWIN
- To: gcc at gcc dot gnu dot org
- Subject: BUILD ON DARWIN
- From: cems at lanl dot gov
- Date: Mon, 16 Jul 2001 17:16:47 -0600
MAKE GIVES ARRORS ON APPLE OS-X
HERE'S THE PRINTOUT
.... snip ...
unctions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/cpplib.c:25:
../../gcc/cpplib.h:541: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:543: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:591: warning: ANSI C forbids const or volatile
functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/cpplex.c -o cpplex.o
In file included from ../../gcc/cpplex.c:38:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/cpplex.c:38:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/cpplex.c:39:
../../gcc/cpplib.h:541: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:543: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:591: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplex.c:1369: warning: ANSI C forbids const or volatile
functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/cppmacro.c -o cppmacro.o
In file included from ../../gcc/cppmacro.c:27:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/cppmacro.c:27:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/cppmacro.c:29:
../../gcc/cpplib.h:541: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:543: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:591: warning: ANSI C forbids const or volatile
functions
../../gcc/cppmacro.c:224: warning: ANSI C forbids const or volatile
functions
../../gcc/cppmacro.c:1557: warning: ANSI C forbids const or volatile
functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/cppexp.c -o cppexp.o
In file included from ../../gcc/cppexp.c:24:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/cppexp.c:24:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/cppexp.c:25:
../../gcc/cpplib.h:541: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:543: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:591: warning: ANSI C forbids const or volatile
functions
../../gcc/cppexp.c:69: warning: ANSI C forbids const or volatile
functions
../../gcc/cppexp.c:1080: warning: ANSI C forbids const or volatile
functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/cppfiles.c -o cppfiles.o
In file included from ../../gcc/cppfiles.c:24:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/cppfiles.c:24:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/cppfiles.c:25:
../../gcc/cpplib.h:541: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:543: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:591: warning: ANSI C forbids const or volatile
functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/cpphash.c -o cpphash.o
In file included from ../../gcc/cpphash.c:27:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/cpphash.c:27:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/cpphash.c:28:
../../gcc/cpplib.h:541: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:543: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:591: warning: ANSI C forbids const or volatile
functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/cpperror.c -o cpperror.o
In file included from ../../gcc/cpperror.c:27:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/cpperror.c:27:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/cpperror.c:28:
../../gcc/cpplib.h:541: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:543: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:591: warning: ANSI C forbids const or volatile
functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/cppinit.c -o cppinit.o
In file included from ../../gcc/cppinit.c:23:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/cppinit.c:23:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/cppinit.c:24:
../../gcc/cpplib.h:541: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:543: warning: ANSI C forbids const or volatile
functions
../../gcc/cpplib.h:591: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/cppinit.c:27:
../../gcc/prefix.h:25: warning: ANSI C forbids const or volatile
functions
cc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include \
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-apple-
darwin1.3.7/3.0/include\"
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-apple-
darwin1.3.7/3.0/../../../..`echo /usr/local | sed -e 's|^/usr/local||'
-e 's|/[^/]*|/..|g'`/include/g++-v3\"
-DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-
lib/powerpc-apple-darwin1.3.7/3.0/../../../..`echo /usr/local | sed -e
's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-v3/powerpc-apple-darwin1.3.7\"
-DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/usr/local/lib/gcc-
lib/powerpc-apple-darwin1.3.7/3.0/../../../..`echo /usr/local | sed -e
's|^/usr/local||' -e 's|/[^/]*|/..|g'`/include/g++-v3/backward\"
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\"
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-apple-
darwin1.3.7/3.0/../../../../powerpc-apple-darwin1.3.7/sys-include\"
-DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-apple-
darwin1.3.7/3.0/../../../../powerpc-apple-darwin1.3.7/include\" \
-c ../../gcc/cppdefault.c
In file included from ../../gcc/cppdefault.c:26:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/cppdefault.c:26:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/mkdeps.c -o mkdeps.o
In file included from ../../gcc/mkdeps.c:24:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/mkdeps.c:24:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
../../gcc/mkdeps.c:40: warning: ANSI C forbids const or volatile
functions
../../gcc/mkdeps.c:51: warning: ANSI C forbids const or volatile
functions
cc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include \
-DPREFIX=\"/usr/local\" \
-c ../../gcc/prefix.c
In file included from ../../gcc/prefix.c:68:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/prefix.c:68:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/prefix.c:72:
../../gcc/prefix.h:25: warning: ANSI C forbids const or volatile
functions
../../gcc/prefix.c:76: warning: ANSI C forbids const or volatile
functions
../../gcc/prefix.c:77: warning: ANSI C forbids const or volatile
functions
../../gcc/prefix.c:89: warning: ANSI C forbids const or volatile
functions
../../gcc/prefix.c:238: warning: ANSI C forbids const or volatile
functions
../../gcc/prefix.c:283: warning: ANSI C forbids const or volatile
functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/version.c -o version.o
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/mbchar.c -o mbchar.o
rm -rf libcpp.a
ar rc libcpp.a cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o
cpphash.o cpperror.o cppinit.o cppdefault.o mkdeps.o prefix.o version.o
mbchar.o
if [ -f ranlib ] || [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then
ranlib libcpp.a ; else true ; fi
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/config -I../../gcc/../include ../../gcc/genattr.c
../../gcc/errors.h:31: illegal function definition, found `__attribute__'
../../gcc/errors.h:33: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from ../../gcc/genattr.c:24:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/genattr.c:24:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/genattr.c:25:
../../gcc/rtl.h:1207: warning: ANSI C forbids const or volatile functions
../../gcc/rtl.h:1439: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/genattr.c:26:
../../gcc/errors.h:34: warning: ANSI C forbids const or volatile
functions
../../gcc/genattr.c:371: warning: ANSI C forbids const or volatile
functions
cc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -DGENERATOR_FILE -o genattr \
genattr.o rtl.o bitmap.o ggc-none.o gensupport.o hashtab.o safe-ctype.o
print-rtl.o errors.o ` case "obstack.o" in ?*) echo obstack.o ;; esac `
` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` `
case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac ` `
case "" in ?*) echo ;; esac `
./genattr ../../gcc/config/rs6000/rs6000.md > tmp-attr.h
/bin/sh ../../gcc/move-if-change tmp-attr.h insn-attr.h
echo timestamp > s-attr
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/config -I../../gcc/../include ../../gcc/genconfig.c
../../gcc/errors.h:31: illegal function definition, found `__attribute__'
../../gcc/errors.h:33: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from ../../gcc/genconfig.c:25:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/genconfig.c:25:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/genconfig.c:26:
../../gcc/rtl.h:1207: warning: ANSI C forbids const or volatile functions
../../gcc/rtl.h:1439: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/genconfig.c:27:
../../gcc/errors.h:34: warning: ANSI C forbids const or volatile
functions
../../gcc/genconfig.c:366: warning: ANSI C forbids const or volatile
functions
cc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -DGENERATOR_FILE -o genconfig \
genconfig.o rtl.o bitmap.o ggc-none.o gensupport.o hashtab.o
safe-ctype.o print-rtl.o errors.o ` case "obstack.o" in ?*) echo
obstack.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*)
echo ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*)
echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genconfig ../../gcc/config/rs6000/rs6000.md > tmp-config.h
/bin/sh ../../gcc/move-if-change tmp-config.h insn-config.h
echo timestamp > s-config
cc -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include \
-DTARGET_NAME=\"powerpc-apple-darwin1.3.7\" \
-c ../../gcc/toplev.c
../../gcc/toplev.h:48: illegal function definition, found `__attribute__'
../../gcc/toplev.h:51: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from ../../gcc/toplev.c:30:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/toplev.c:30:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/toplev.c:43:
../../gcc/tree.h:2456: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2510: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2646: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/toplev.c:44:
../../gcc/rtl.h:1207: warning: ANSI C forbids const or volatile functions
../../gcc/rtl.h:1439: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/toplev.c:51:
../../gcc/output.h:128: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/toplev.c:54:
../../gcc/toplev.h:45: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/toplev.c:58:
../../gcc/ggc.h:136: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/toplev.c:63:
../../gcc/diagnostic.h:183: warning: ANSI C forbids const or volatile
functions
../../gcc/diagnostic.h:184: warning: ANSI C forbids const or volatile
functions
../../gcc/diagnostic.h:199: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/toplev.c:66:
../../gcc/dwarf2asm.h:78: warning: ANSI C forbids const or volatile
functions
../../gcc/toplev.c:159: warning: ANSI C forbids const or volatile
functions
../../gcc/toplev.c:1551: warning: ANSI C forbids const or volatile
functions
../../gcc/toplev.c: In function `compile_file':
../../gcc/toplev.c:2293: warning: implicit declaration of function
`ASM_FILE_START'
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/diagnostic.c -o diagnostic.o
../../gcc/toplev.h:48: illegal function definition, found `__attribute__'
../../gcc/toplev.h:51: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from ../../gcc/diagnostic.c:29:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/diagnostic.c:29:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/diagnostic.c:31:
../../gcc/tree.h:2456: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2510: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2646: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/diagnostic.c:32:
../../gcc/rtl.h:1207: warning: ANSI C forbids const or volatile functions
../../gcc/rtl.h:1439: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/diagnostic.c:38:
../../gcc/toplev.h:45: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/diagnostic.c:40:
../../gcc/diagnostic.h:183: warning: ANSI C forbids const or volatile
functions
../../gcc/diagnostic.h:184: warning: ANSI C forbids const or volatile
functions
../../gcc/diagnostic.h:199: warning: ANSI C forbids const or volatile
functions
../../gcc/diagnostic.c:223: warning: ANSI C forbids const or volatile
functions
../../gcc/diagnostic.c:284: warning: ANSI C forbids const or volatile
functions
../../gcc/diagnostic.c:383: warning: ANSI C forbids const or volatile
functions
../../gcc/diagnostic.c:1713: warning: ANSI C forbids const or volatile
functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/tree.c -o tree.o
../../gcc/toplev.h:48: illegal function definition, found `__attribute__'
../../gcc/toplev.h:51: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from ../../gcc/tree.c:37:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/tree.c:37:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/tree.c:39:
../../gcc/tree.h:2456: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2510: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2646: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/tree.c:43:
../../gcc/toplev.h:45: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/tree.c:44:
../../gcc/ggc.h:136: warning: ANSI C forbids const or volatile functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/print-tree.c -o print-tree.o
In file included from ../../gcc/print-tree.c:24:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/print-tree.c:24:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/print-tree.c:25:
../../gcc/tree.h:2456: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2510: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2646: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/print-tree.c:26:
../../gcc/ggc.h:136: warning: ANSI C forbids const or volatile functions
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/stor-layout.c -o stor-layout.o
../../gcc/toplev.h:48: illegal function definition, found `__attribute__'
../../gcc/toplev.h:51: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from ../../gcc/stor-layout.c:24:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/stor-layout.c:24:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/stor-layout.c:25:
../../gcc/tree.h:2456: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2510: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2646: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/stor-layout.c:26:
../../gcc/rtl.h:1207: warning: ANSI C forbids const or volatile functions
../../gcc/rtl.h:1439: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/stor-layout.c:31:
../../gcc/toplev.h:45: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/stor-layout.c:32:
../../gcc/ggc.h:136: warning: ANSI C forbids const or volatile functions
../../gcc/stor-layout.c: In function `get_best_mode':
../../gcc/stor-layout.c:1798: warning: comparison between signed and
unsigned
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/fold-const.c -o fold-const.o
../../gcc/toplev.h:48: illegal function definition, found `__attribute__'
../../gcc/toplev.h:51: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from ../../gcc/fold-const.c:46:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/fold-const.c:46:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/fold-const.c:49:
../../gcc/tree.h:2456: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2510: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2646: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/fold-const.c:50:
../../gcc/rtl.h:1207: warning: ANSI C forbids const or volatile functions
../../gcc/rtl.h:1439: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/fold-const.c:53:
../../gcc/toplev.h:45: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/fold-const.c:54:
../../gcc/ggc.h:136: warning: ANSI C forbids const or volatile functions
../../gcc/fold-const.c: In function `div_and_round_double':
../../gcc/fold-const.c:681: warning: comparison between signed and
unsigned
../../gcc/fold-const.c: In function `optimize_bit_field_compare':
../../gcc/fold-const.c:2932: warning: comparison between signed and
unsigned
../../gcc/fold-const.c: In function `fold':
../../gcc/fold-const.c:5770: warning: comparison between signed and
unsigned
../../gcc/fold-const.c:5781: warning: comparison between signed and
unsigned
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/function.c -o function.o
../../gcc/toplev.h:48: illegal function definition, found `__attribute__'
../../gcc/toplev.h:51: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from ../../gcc/function.c:42:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/function.c:42:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/function.c:43:
../../gcc/rtl.h:1207: warning: ANSI C forbids const or volatile functions
../../gcc/rtl.h:1439: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/function.c:44:
../../gcc/tree.h:2456: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2510: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2646: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/function.c:53:
../../gcc/output.h:128: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/function.c:56:
../../gcc/toplev.h:45: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/function.c:58:
../../gcc/ggc.h:136: warning: ANSI C forbids const or volatile functions
../../gcc/function.c: In function `assign_stack_local_1':
../../gcc/function.c:596: `DEFAULT_ABI' undeclared (first use in this
function)
../../gcc/function.c:596: (Each undeclared identifier is reported only
once
../../gcc/function.c:596: for each function it appears in.)
../../gcc/function.c: In function `fixup_memory_subreg':
../../gcc/function.c:2519: warning: comparison between signed and
unsigned
../../gcc/function.c:2520: warning: comparison between signed and
unsigned
../../gcc/function.c: In function `optimize_bit_field':
../../gcc/function.c:2716: warning: comparison between signed and
unsigned
../../gcc/function.c:2718: warning: comparison between signed and
unsigned
../../gcc/function.c:2764: warning: comparison between signed and
unsigned
../../gcc/function.c: In function `purge_addressof_1':
../../gcc/function.c:3074: warning: comparison between signed and
unsigned
../../gcc/function.c: In function `instantiate_virtual_regs':
../../gcc/function.c:3514: `DEFAULT_ABI' undeclared (first use in this
function)
../../gcc/function.c: In function `instantiate_decls':
../../gcc/function.c:3581: warning: comparison between signed and
unsigned
../../gcc/function.c: In function `aggregate_value_p':
../../gcc/function.c:4201: `DEFAULT_ABI' undeclared (first use in this
function)
../../gcc/function.c: In function `assign_parms':
../../gcc/function.c:4554: `DEFAULT_ABI' undeclared (first use in this
function)
../../gcc/function.c: In function `locate_and_pad_parm':
../../gcc/function.c:5192: `DEFAULT_ABI' undeclared (first use in this
function)
make[1]: *** [function.o] Error 1
make: *** [all-gcc] Error 2
[localhost:~/gcc-3.0/objdir] cems% ls
Makefile fastjar
powerpc-apple-darwin1.3.7
config.cache gcc zlib
config.status libiberty
[localhost:~/gcc-3.0/objdir] cems% make bootstrap-lean
make[2]: Nothing to be done for `all'.
true "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CFLAGS=-g" "CXXFLAGS=-g -O2"
"CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g" "INSTALL=/bin/sh
/Users/cems/gcc-3.0/install-sh -c" "INSTALL_DATA=/bin/sh
/Users/cems/gcc-3.0/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/Users/cems/gcc-3.0/install-sh -c " "INSTALL_SCRIPT=/bin/sh
/Users/cems/gcc-3.0/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g"
"LIBCFLAGS_FOR_TARGET=-g" "MAKE=make" "MAKEINFO=makeinfo " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest"
"RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info"
"libdir=/usr/local/lib" "prefix=/usr/local"
"tooldir=/usr/local/powerpc-apple-darwin1.3.7" "AR=ar" "AS=as" "CC=cc"
"CXX=c++" "LD=ld" "LIBCFLAGS=-g" "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" DO=all multi-do
Bootstrapping the compiler
make CC="cc" libdir=/usr/local/lib LANGUAGES="c " \
CFLAGS="-g " MAKEINFO="makeinfo " \
MAKEINFOFLAGS=""
(cd intl && make all)
make[3]: Nothing to be done for `all'.
(cd po && make all)
make[3]: Nothing to be done for `all'.
cc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config
-I../../gcc/../include ../../gcc/function.c -o function.o
../../gcc/toplev.h:48: illegal function definition, found `__attribute__'
../../gcc/toplev.h:51: illegal function definition, found `__attribute__'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
In file included from ../../gcc/function.c:42:
../../gcc/system.h:320: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/system.h:494,
from ../../gcc/function.c:42:
../../gcc/../include/libiberty.h:91: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:101: warning: ANSI C forbids const or
volatile functions
../../gcc/../include/libiberty.h:126: warning: ANSI C forbids const or
volatile functions
In file included from ../../gcc/function.c:43:
../../gcc/rtl.h:1207: warning: ANSI C forbids const or volatile functions
../../gcc/rtl.h:1439: warning: ANSI C forbids const or volatile functions
In file included from ../../gcc/function.c:44:
../../gcc/tree.h:2456: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2510: warning: ANSI C forbids const or volatile
functions
../../gcc/tree.h:2646: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/function.c:53:
../../gcc/output.h:128: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/function.c:56:
../../gcc/toplev.h:45: warning: ANSI C forbids const or volatile
functions
In file included from ../../gcc/function.c:58:
../../gcc/ggc.h:136: warning: ANSI C forbids const or volatile functions
../../gcc/function.c: In function `assign_stack_local_1':
../../gcc/function.c:596: `DEFAULT_ABI' undeclared (first use in this
function)
../../gcc/function.c:596: (Each undeclared identifier is reported only
once
../../gcc/function.c:596: for each function it appears in.)
../../gcc/function.c: In function `fixup_memory_subreg':
../../gcc/function.c:2519: warning: comparison between signed and
unsigned
../../gcc/function.c:2520: warning: comparison between signed and
unsigned
../../gcc/function.c: In function `optimize_bit_field':
../../gcc/function.c:2716: warning: comparison between signed and
unsigned
../../gcc/function.c:2718: warning: comparison between signed and
unsigned
../../gcc/function.c:2764: warning: comparison between signed and
unsigned
../../gcc/function.c: In function `purge_addressof_1':
../../gcc/function.c:3074: warning: comparison between signed and
unsigned
../../gcc/function.c: In function `instantiate_virtual_regs':
../../gcc/function.c:3514: `DEFAULT_ABI' undeclared (first use in this
function)
../../gcc/function.c: In function `instantiate_decls':
../../gcc/function.c:3581: warning: comparison between signed and
unsigned
../../gcc/function.c: In function `aggregate_value_p':
../../gcc/function.c:4201: `DEFAULT_ABI' undeclared (first use in this
function)
../../gcc/function.c: In function `assign_parms':
../../gcc/function.c:4554: `DEFAULT_ABI' undeclared (first use in this
function)
../../gcc/function.c: In function `locate_and_pad_parm':
../../gcc/function.c:5192: `DEFAULT_ABI' undeclared (first use in this
function)
make[2]: *** [function.o] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap-lean] Error 2
[localhost:~/gcc-3.0/objdir] cems%