bug-gmp
[Top][All Lists]
Advanced

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

Re: gmp: compilation problem


From: Francois Thomasset
Subject: Re: gmp: compilation problem
Date: Thu, 13 Mar 2003 16:34:15 +0100

> Francois Thomasset <address@hidden> writes:
> >
> > Dans le fichier inclus a partir de /usr/include/c++/3.2/iosfwd:45,
> > a partir de /home/thomasse/Gmp/gmp.h:26,
> > a partir de [...]
> > /usr/include/c++/3.2/bits/stringfwd.h:49: patron avec liaison C
> > [...]
> 
> Please provide a complete example program which provokes this.
> 
> As a wild guess, you might like to check that you haven't wrapped your
> #include <gmp.h> in an ``extern "C" { } block''.  gmp.h already knows
> to do that for its C declarations, and adding an extra one will upset
> the C++ declarations.
Thanks a lot! You have solved my problem: indeed there was such an extern "C" 
block around an include of gmp.h, which had escaped us, and I found it in 
preparing a small example to send you...
Regards,
FT






reply via email to

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