[LMH]change in Makefile

James A. Crippen james@unlambda.com
Thu May 2 22:18:02 2002


Raymond Wiker <Raymond.Wiker@fast.no> writes:

> Andreas Eder writes:
>  > In order to avoid warning messages from makedepend
>  > ( makedepend: warning:  app.cc, line 1: cannot find include file "iostream.h"
>  >         not in /usr/local/lib/gcc-include/iostream.h
>  >         not in /usr/include/iostream.h
>  >         not in /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/iostream.h
>  > etc.)
> 
>         Shouldn't this use the header file "iostream" instead of
> "iostream.h"? There are a few differences between the .h and no-.h
> versions of the standard header files, including the use of namespaces
> (i.e, if you use <iostream> instead of <iostream.h> you have to either
> use "using namespace std;" or prefix cin, cout, endl etc with
> "std::").

Duh, that's why that didn't work before... :-P

>         Also, I think that changing the #includes for standard include
> files from <> to "" may have been a mistake. For the stand-alone
> target, it should be possible to achieve the same effect by judicious
> use of --nostdinc and -I.
> 
>         Disclaimer: I haven't even _looked at_ the E3 sources.

JM, whaddya think?  I personally think it might be a Good Idea.

'james

-- 
James A. Crippen <james@unlambda.com> ,-./-.  Anchorage, Alaska,
Lambda Unlimited: Recursion 'R' Us   |  |/  | USA, 61.20939N, -149.767W
Y = \f.(\x.f(xx)) (\x.f(xx))         |  |\  | Earth, Sol System,
Y(F) = F(Y(F))                        \_,-_/  Milky Way.