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

Re: compiling help



That worked like a charm.  Thanks for the info.

th

On Sat, 21 Aug 1999, Mark Brown wrote:

> What happens if you try wrapping the #include <cgi.h> like so:
> 
>    extern "C" {
>    #include <cgi.h>
>    }
> 
> Most Unix C++ compilers encode type information about symbols into the
> names of objects they link to in order to enforce type checking between
> modules.  The extern "C" tells the compiler to use the normal naming
> system (just the symbol name).
> 
> -- 
> Mark Brown  mailto:broonie@tardis.ed.ac.uk   (Trying to avoid grumpiness)
>             http://www.tardis.ed.ac.uk/~broonie/
> EUFS        http://www.eusa.ed.ac.uk/societies/filmsoc/
> 


Reply to: