[geos-devel] error1

Mark Coletti mcoletti at gmail.com
Wed Dec 15 17:59:02 EST 2004

On Wed, 15 Dec 2004 08:06:15 +0100, strk at refractions.net
<strk at refractions.net> wrote:
> On Tue, Dec 14, 2004 at 09:46:23AM +0100, Michel Garand wrote:
> > ../index/quadtree/QuadTreeNode.cpp:175: implicit declaration of function
> > `int geos::sprintf(...)'
> Add:
>         #include <stdio.h>

  Egads.  Why are you using C-style IO in a C++ program?  You do
realize that this could lead to problems, yes?

  In any case, in proper C++ parlance, that should be:

           #include <cstdio>


I'm taking reality in small doses to build immunity.

More information about the geos-devel mailing list