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]

Problem compiling 3.0.2


Compiling on: Compaq OSF1 V5.1 732 alpha

Configure command used:

CC=cc ../gcc-3.0.2/configure \
	--enable-shared \
	--disable-nls

Error messages from compile are at the end of this message.

Using Compaq cc command, rather than older version of gcc to build the
new compiler.

Is either my configuration command incorrect, or is something else
wrong?

-- bb

cc -c  -DIN_GCC    -g   -DHAVE_CONFIG_H    -I. -Icp -I../../gcc-3.0.2/gcc -I../../gcc-3.0.2/gcc/cp -I../../gcc-3.0.2/gcc/config -I../../gcc-3.0.2/gcc/../include ../../gcc-3.0.2/gcc/cp/decl.c -o cp/decl.o
cc: Info: ../../gcc-3.0.2/gcc/cp/cp-tree.h, line 3116: Trailing comma found in enumerator list. (trailcomma)
} cp_lvalue_kind;
^
cc: Info: ../../gcc-3.0.2/gcc/cp/cp-tree.h, line 3202: Trailing comma found in enumerator list. (trailcomma)
} instantiate_type_flags;
^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 528: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
  current_binding_level = newlevel;
--^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 584: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
    current_binding_level = current_binding_level->level_chain;
----^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 599: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
    current_binding_level = class_binding_level;
----^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 621: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
  current_binding_level = current_binding_level->level_chain;
--^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 634: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
  current_binding_level = b;
--^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 4294: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
      current_binding_level = level;
------^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 4296: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
      current_binding_level = b;
------^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 6405: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
  current_binding_level = NULL_BINDING_LEVEL;
--^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 9939: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
      current_binding_level = b->level_chain;
------^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 9942: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
      current_binding_level = b;
------^
cc: Error: ../../gcc-3.0.2/gcc/cp/decl.c, line 13499: In this statement, "(cfun&&((struct cp_language_function ...)(cfun->language))->bindings?((struct cp_language_function ...)(cfun->language))->bindings:scope_chain->bindings)" is not an lvalue, but occurs in a context that requires one. (needlvalue)
  current_binding_level = bl;
--^
make[1]: *** [cp/decl.o] Error 1
make[1]: Leaving directory `/usr/users/facstaff/benites/gccstuff/gcc3-Tru64-5.1/gcc'
make: *** [all-gcc] Error 2



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