Re: compiling and gcc2.7.0

From: David Fox <fox_at_graphics.cs.nyu.edu>
Date: Wed, 22 May 1996 12:30:50 -0400

Jonathan Berry writes:

> stk.h includes string.h and memory.h. When STk is compiled using C++,
> the entire stk.h file is enclosed in an extern "C" environment. For
> some reason which I haven't taken the time to determine, including
> string.h and memory.h in such an environment bombs the compilation
> with g++2.7.0. I have have no problem with 2.7.2 or 2.6.3.
> Moving the includes of string.h and memory.h outside of the extern "C"
> solves the problem in 2.7.0.

Adding *additional* includes of string.h and memory.h before the
include of stk.h (rather than actually moving the includes out of
stk.h) is enough to get around the problem.
--
David Fox	   http://found.cs.nyu.edu/fox   	xoF divaD
NYU Media Research Lab			   baL hcraeseR aideM UYN
Received on Wed May 22 1996 - 18:30:36 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST