bug-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: cgicc & SCO UnixWare 7.1.x


From: Stephen F. Booth
Subject: RE: cgicc & SCO UnixWare 7.1.x
Date: Thu, 7 Dec 2000 16:35:58 -0600

> My system is now: UnixWare 7.1.1 + UDK 7.1.1b
>
> Now configure runs fine, make produces the cgicc library.
>
> BUT "make all" in demo failed:
<snip>
>
> If I change
>    #include <iostream>
> to
>    #include <iostream.h>
>
> then I can compile conftest.C.

The configure script is poorly written; I remember adding the test
for -lstdc++ for a system with weird behavior.  The idae behind that test
was that on a certain system, to get cout and other C++ specific objects you
had to link to the library.  However, the test isn't working properly on
your system since it's not written very robustly.  The root problem with
your system is that the C++ STL removes the .h from the standard C++
headers.  So, you #include <iostream> instead of <iostream.h>, <string>
instead of <string.h>, etc.  If your compiler doesn't support this, there
isn't an easy fix.  Are there any command-line switches to pass to the
compiler to make it more STL-compliant?

-Stephen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]