[8867] in Athena Bugs

home help back first fref pref prev next nref lref last post

[Freeland K. Abbott : CC "too much pushback" error]

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Wed Jan 22 17:01:38 1992

Date: Wed, 22 Jan 92 17:01:14 -0500
From: raeburn@Athena.MIT.EDU (Ken Raeburn)
To: bugs@Athena.MIT.EDU
Cc: fabbott@Athena.MIT.EDU, info-c++@Athena.MIT.EDU, bug-c++@Athena.MIT.EDU

This is a bug in the C preprocessor on the vax.  I don't know if it's
a table size, or something more pervasive in the algorithms used.

The workaround I would suggest would be to set an environment variable
"cppC" to "g++ -E -U__GNUC__ -U__GNUG__", but some extra flags may be
needed; don't bother trying it unless you're willing to dive in and
figure out how to get the correct set of include directories used.

To: info-c++@Athena.MIT.EDU
Subject: CC "too much pushback" error
Date: Wed, 22 Jan 92 16:35:30 EST
From: Freeland K. Abbott <fabbott@Athena.MIT.EDU>


I'm trying to compile a C++ wrapper library for Motif widgets, and I'm
getting an error in the preprocessor.  We'll start by giving the
output, I guess:

athena% make radiobox.o
CC -c -o radiobox.o  -I. -I.. -I../include/motif-1.0 -I../include -DXTFUNCPROTOradiobox.C
CC  radiobox.C:
/mit/c++/2.0/vax/include/cc/string.h: 1: NeedFunctionPrototypes: too much pushback
radiobox.C: 4: missing endif
CC: cpp failure: 2
*** Exit 1

Stop.



	   The code is "guaranteed" to be correct, in that it isn't mine
and does compile just fine using g++ (which is what the Makefile was
originally using).  I'd like to use CC, primarily because I'm hoping
to use this to write an interface for a backend which is already
written using CC (2.0, the athena issue)....

	   Any ideas on how I can fix this problem?  Incidentally, I also
tried to compile the backend with g++ (1.39.0) and got an error
because GNU's libc.h tries to #include <il/builtin.h>, which just
doesn't exist.  Whom should I report this to?


home help back first fref pref prev next nref lref last post