Re: trying to build synopsis for FreeBSD 4.7

[email protected] (Gilles J. Seguin)
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
On Tue, 2004-08-17 at 20:11, Gilles J. Seguin wrote:
> try adding,
> #include <cfloat>
> before
> #include <Synopsis/AST/ASTKit.hh>
> 
> that is weird, according to the trace, following should fail ??
> please what is the ouput, can you check.
> $ cat > foo.cc <<EOF
> #include <iostream>
> int main(){ std::cout << "allo\n"; }
> EOF
> # g++ -Wall -o foo.o -c foo.cc

Why are you in /usr/local/lib, have you something in /usr/lib,
do you have duplicated hesders.
/usr/local/lib/gcc-lib/i386-portbld-freebsd4.7/3.1.1/include/g++-v3/iostream:45,


If it pass retry with
#include <Python.h>
int main(){ std::cout << "allo\n"; }

$ g++ -Wall -I/usr/include/python2.3 -o foo.o -c foo.cc
where the -I/usr/include/python2.3 can be different
try adding -h option to g++ to know the command line that is
really used.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.