[apluslist] Compile error has me stumped - Mac OS X.3 (PPC)

Neil Roeth neil at occamsrazor.net
Sat Nov 4 08:15:16 EST 2006


On Nov  4, Lorin Lund (wbs at infowest.com) wrote:
 > In file included from IPCInterface.C:14:
 > ../a/fncdcls.h:256: error: parse error before `<<' token
 > make[2]: *** [IPCInterface.o] Error 1
 > 
 > But line 256 of src/a/fncdcls.h looks like
 > extern void ff(A);                  /* u */
 > 
 > No '<<' evident.  And I don't expect 'extern', 'void', or 'A' to be 
 > preprocessor defines. 
 > And since ff is being declared I wouldn't expect it to be a define either. 
 > But I guess it is possible.
 > 
 > Has anyone seen this problem before?

No, but since you suspect a preprocessor problem, I would suggest running the
preprocessor only (-E option for gcc).  If the output has the '<<' in it then
you know that is the problem, if not, then it's some strange compiler error.

-- 
Neil Roeth


More information about the apluslist mailing list