This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/6858: gcc doesn t compile



>Number:         6858
>Category:       c
>Synopsis:       gcc doesn t compile
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Wed May 29 07:26:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     fabien.gutierrez@laposte.net
>Release:        gcc 3.1
>Organization:
>Environment:
Darwin irslx8.ups-tlse.fr 5.4 Darwin Kernel Version 5.4: Wed Apr 10 09:27:47 PDT 2002; root:xnu/xnu-201.19.3.obj~1/RELEASE_PPC  Power Macintosh powerpc
>Description:
cc -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I. -I./. -I./config -I./../include c-common.c -o c-common.o
builtin-attrs.def:100: missing right curly brace, found `_0'
builtin-attrs.def:100: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_1'
builtin-attrs.def:101: undefined type, found `ATTR_PRINTF_1'
builtin-attrs.def:101: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_1'
builtin-attrs.def:102: undefined type, found `ATTR_PRINTF_2'
builtin-attrs.def:102: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_2'
builtin-attrs.def:103: undefined type, found `ATTR_PRINTF_2'
builtin-attrs.def:103: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_2'
builtin-attrs.def:104: undefined type, found `ATTR_PRINTF_3'
builtin-attrs.def:104: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_3'
builtin-attrs.def:105: undefined type, found `ATTR_PRINTF_3'
builtin-attrs.def:105: illegal external declaration, missing `;' after `ATTR_FORMAT_PRINTF_3'
builtin-attrs.def:106: undefined type, found `ATTR_SCANF_1'
builtin-attrs.def:106: illegal external declaration, missing `;' after `ATTR_FORMAT_SCANF_1'
builtin-attrs.def:107: undefined type, found `ATTR_SCANF_1'
builtin-attrs.def:107: illegal external declaration, missing `;' after `ATTR_FORMAT_SCANF_1'
builtin-attrs.def:108: undefined type, found `ATTR_SCANF_2'
builtin-attrs.def:108: illegal external declaration, missing `;' after `ATTR_FORMAT_SCANF_2'
builtin-attrs.def:109: undefined type, found `ATTR_SCANF_2'
builtin-attrs.def:109: illegal external declaration, missing `;' after `ATTR_FORMAT_SCANF_2'
builtin-attrs.def:110: undefined type, found `ATTR_STRFTIME_3'
builtin-attrs.def:110: illegal external declaration, missing `;' after `ATTR_FORMAT_STRFTIME_3'
builtin-attrs.def:111: undefined type, found `ATTR_STRFMON_3'
builtin-attrs.def:111: illegal external declaration, missing `;' after `ATTR_FORMAT_STRFMON_3'
builtin-attrs.def:100: syntax error, found `_0'
builtin-attrs.def:100: syntax error, found `_0'
builtin-attrs.def:101: syntax error, found `_2'
builtin-attrs.def:101: syntax error, found `_2'
builtin-attrs.def:102: syntax error, found `_0'
builtin-attrs.def:102: syntax error, found `_0'
builtin-attrs.def:103: syntax error, found `_3'
builtin-attrs.def:103: syntax error, found `_3'
builtin-attrs.def:104: syntax error, found `_0'
builtin-attrs.def:104: syntax error, found `_0'
builtin-attrs.def:105: syntax error, found `_4'
builtin-attrs.def:105: syntax error, found `_4'
builtin-attrs.def:106: syntax error, found `_0'
builtin-attrs.def:106: syntax error, found `_0'
builtin-attrs.def:107: syntax error, found `_2'
builtin-attrs.def:107: syntax error, found `_2'
builtin-attrs.def:108: syntax error, found `_0'
builtin-attrs.def:108: syntax error, found `_0'
builtin-attrs.def:109: syntax error, found `_3'
builtin-attrs.def:109: syntax error, found `_3'
builtin-attrs.def:110: syntax error, found `_0'
builtin-attrs.def:110: syntax error, found `_0'
builtin-attrs.def:111: syntax error, found `_4'
builtin-attrs.def:111: syntax error, found `_4'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
In file included from c-common.c:23:
system.h:331: warning: ANSI C forbids const or volatile functions
In file included from system.h:490,
                 from c-common.c:23:
./../include/libiberty.h:86: warning: ANSI C forbids const or volatile functions
./../include/libiberty.h:158: warning: ANSI C forbids const or volatile functions
./../include/libiberty.h:168: warning: ANSI C forbids const or volatile functions
./../include/libiberty.h:193: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:24:
tree.h:2652: warning: ANSI C forbids const or volatile functions
tree.h:3056: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:27:
toplev.h:35: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:28:
output.h:330: warning: ANSI C forbids const or volatile functions
output.h:548: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:30:
rtl.h:1438: warning: ANSI C forbids const or volatile functions
rtl.h:1694: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:31:
ggc.h:159: warning: ANSI C forbids const or volatile functions
In file included from cpplib.h:28,
                 from c-common.h:26,
                 from c-common.c:33:
line-map.h:89: warning: ANSI C forbids const or volatile functions
line-map.h:94: warning: ANSI C forbids const or volatile functions
In file included from c-common.h:26,
                 from c-common.c:33:
cpplib.h:502: warning: ANSI C forbids const or volatile functions
cpplib.h:529: warning: ANSI C forbids const or volatile functions
cpplib.h:558: warning: ANSI C forbids const or volatile functions
cpplib.h:560: warning: ANSI C forbids const or volatile functions
cpplib.h:626: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:33:
c-common.h:526: warning: ANSI C forbids const or volatile functions
c-common.h:528: warning: ANSI C forbids const or volatile functions
c-common.h:598: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:33:
c-common.h:899: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:35:
diagnostic.h:287: warning: ANSI C forbids const or volatile functions
diagnostic.h:288: warning: ANSI C forbids const or volatile functions
diagnostic.h:303: warning: ANSI C forbids const or volatile functions
In file included from tm_p.h:3,
                 from c-common.c:36:
./config/darwin-protos.h:62: warning: ANSI C forbids const or volatile functions
c-common.c:659: warning: ANSI C forbids const or volatile functions
c-common.c:679: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:4277:
builtin-attrs.def:100: parse error before `_0'
builtin-attrs.def:101: redefinition of `ATTR_PRINTF_1'
builtin-attrs.def:100: `ATTR_PRINTF_1' previously defined here
builtin-attrs.def:101: redefinition of `ATTR_FORMAT_PRINTF_1'
builtin-attrs.def:100: `ATTR_FORMAT_PRINTF_1' previously defined here
builtin-attrs.def:103: redefinition of `ATTR_PRINTF_2'
builtin-attrs.def:102: `ATTR_PRINTF_2' previously defined here
builtin-attrs.def:103: redefinition of `ATTR_FORMAT_PRINTF_2'
builtin-attrs.def:102: `ATTR_FORMAT_PRINTF_2' previously defined here
builtin-attrs.def:105: redefinition of `ATTR_PRINTF_3'
builtin-attrs.def:104: `ATTR_PRINTF_3' previously defined here
builtin-attrs.def:105: redefinition of `ATTR_FORMAT_PRINTF_3'
builtin-attrs.def:104: `ATTR_FORMAT_PRINTF_3' previously defined here
builtin-attrs.def:107: redefinition of `ATTR_SCANF_1'
builtin-attrs.def:106: `ATTR_SCANF_1' previously defined here
builtin-attrs.def:107: redefinition of `ATTR_FORMAT_SCANF_1'
builtin-attrs.def:106: `ATTR_FORMAT_SCANF_1' previously defined here
builtin-attrs.def:109: redefinition of `ATTR_SCANF_2'
builtin-attrs.def:108: `ATTR_SCANF_2' previously defined here
builtin-attrs.def:109: redefinition of `ATTR_FORMAT_SCANF_2'
builtin-attrs.def:108: `ATTR_FORMAT_SCANF_2' previously defined here
c-common.c:4490: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:4555:
builtin-attrs.def: In function `c_init_attributes':
builtin-attrs.def:100: parse error before `_0'
builtin-attrs.def:100: parse error before `_0'
builtin-attrs.def:101: parse error before `_2'
builtin-attrs.def:101: parse error before `_2'
builtin-attrs.def:102: parse error before `_0'
builtin-attrs.def:102: parse error before `_0'
builtin-attrs.def:103: parse error before `_3'
builtin-attrs.def:103: parse error before `_3'
builtin-attrs.def:104: parse error before `_0'
builtin-attrs.def:104: parse error before `_0'
builtin-attrs.def:105: parse error before `_4'
builtin-attrs.def:105: parse error before `_4'
builtin-attrs.def:106: parse error before `_0'
builtin-attrs.def:106: parse error before `_0'
builtin-attrs.def:107: parse error before `_2'
builtin-attrs.def:107: parse error before `_2'
builtin-attrs.def:108: parse error before `_0'
builtin-attrs.def:108: parse error before `_0'
builtin-attrs.def:109: parse error before `_3'
builtin-attrs.def:109: parse error before `_3'
builtin-attrs.def:110: parse error before `_0'
builtin-attrs.def:110: parse error before `_0'
builtin-attrs.def:111: parse error before `_4'
builtin-attrs.def:111: parse error before `_4'
In file included from c-common.c:4584:
builtin-attrs.def: In function `c_common_insert_default_attributes':
builtin-attrs.def:137: `ATTR_FORMAT_PRINTF_1_2' undeclared (first use in this function)
builtin-attrs.def:137: (Each undeclared identifier is reported only once
builtin-attrs.def:137: for each function it appears in.)
builtin-attrs.def:138: `ATTR_FORMAT_PRINTF_2_3' undeclared (first use in this function)
builtin-attrs.def:147: `ATTR_FORMAT_SCANF_1_2' undeclared (first use in this function)
builtin-attrs.def:148: `ATTR_FORMAT_SCANF_2_3' undeclared (first use in this function)
builtin-attrs.def:150: `ATTR_FORMAT_PRINTF_1_0' undeclared (first use in this function)
builtin-attrs.def:151: `ATTR_FORMAT_PRINTF_2_0' undeclared (first use in this function)
builtin-attrs.def:153: `ATTR_FORMAT_STRFTIME_3_0' undeclared (first use in this function)
builtin-attrs.def:161: `ATTR_FORMAT_PRINTF_3_4' undeclared (first use in this function)
builtin-attrs.def:162: `ATTR_FORMAT_PRINTF_3_0' undeclared (first use in this function)
builtin-attrs.def:163: `ATTR_FORMAT_SCANF_1_0' undeclared (first use in this function)
builtin-attrs.def:164: `ATTR_FORMAT_SCANF_2_0' undeclared (first use in this function)
builtin-attrs.def:177: `ATTR_FORMAT_STRFMON_3_4' undeclared (first use in this function)
make[1]: *** [c-common.o] Erreur 1
make: *** [all-gcc] Erreur 2
>How-To-Repeat:
every time
>Fix:
none found
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]