Tim: thanks, that makes sense.

On Mon, Dec 10, 2007 at 07:56:21PM +0100, Tim Van Holder wrote:
> Steve M. Robbins wrote:
> > Hi,
> > 
> > A Debian user has reported a missing #include in gmp.h.
> > 
> > -Steve
> > 
> > ----- Forwarded message from Martin Michlmayr <[EMAIL PROTECTED]> -----
> > 
> > [snip]
> >> In file included from 
> >> /build/tbm/kdeutils-3.5.8/./kcalc/knumber/knumber.h:23,
> >>                  from 
> >> /build/tbm/kdeutils-3.5.8/./kcalc/knumber/knumber.cpp:28,
> >>                  from libknumber_la.all_cpp.cpp:2:
> >> /usr/include/gmp.h:520: error: 'std::FILE' has not been declared
> > 
> > 
> > --- old     2007-12-09 18:15:42.000000000 +0000
> > +++ /usr/include/gmp.h      2007-12-09 18:16:06.000000000 +0000
> > @@ -22,6 +22,7 @@
> >  
> >  #if defined (__cplusplus)
> >  #include <iosfwd>   /* for std::istream, std::ostream, std::string */
> > +#include <iostream> /* for std::FILE */
> >  #endif
> 
> std::FILE is the C++ way of referring to C's file - so I think the
> correct include is <cstdio>, NOT <iostream>.

Attachment: signature.asc
Description: Digital signature



Reply via email to