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]

Re: 2.95.2 compile problems with egcs-2.91.66, sparc-solaris2.7


> When trying to compile gcc-2.95.2 with egcs-2.91.66 on an Ultra 10 running
> Solaris 7, I get the following error:

Thanks for your bug report. I'm surprised that it hadn't been reported
before, so something must have gone wrong on your system.

Apparently, the problem is that both cexp.c and ansidecl.h define a
macro AND, and in a different way. This is not supposed to happen; the
definition in cexp.c is supposed to be the only one in this context.

If you merely want to get a working compiler, I recommend you download
a binary from sunfreeware.com. If you want to manage to compile your
sources, you could try to rename AND and SIGNED to GCCAND and
GCCSIGNED throughout cexp.c. If you want to investigate the problem,
it would be good to know under what circumstances ansidecl.h of
Solaris defines those macros.

Regards,
Martin

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