Re: gcc-4.3.0 compilation problem

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

 



Le mercredi 06 février 2008 à 14:42 -0500, Benjamin Kreuter a écrit :
> On Wednesday 06 February 2008 13:36:01 Christopher Brown wrote:
> 
> >
> > A lot of these for drgeo:
> >
> > /usr/include/gmp-x86_64.h:520: error: 'std::FILE' has not been declared
> >
> > so you'll need to add:
> >
> > using std::FILE;
> >
> 
> No, that will not fix it.  But this will:
> 
> #include <cstdio>
> 
> -- Benjamin Kreuter
> 
I corrected some errors like this including #include <cstdio> in the .cc
file in first include place. But now i'm facing a recalcitrant case : 

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=
\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=
\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\"
-DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=
\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0
-I/usr/include/libxml2  				    -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT drgeo_tool.o -MD -MP -MF
".deps/drgeo_tool.Tpo" \
	  -c -o drgeo_tool.o `test -f 'drgeo_tool.cc' || echo
'./'`drgeo_tool.cc; \
	then mv -f ".deps/drgeo_tool.Tpo" ".deps/drgeo_tool.Po"; \
	else rm -f ".deps/drgeo_tool.Tpo"; exit 1; \
	fi
In file included from drgeo_figure.h:35,
                 from drgeo_drawable.h:33,
                 from drgeo_tool.h:30,
                 from drgeo_tool.cc:27:
drgeo_geometricObject.h: In member function 'virtual drgeoVector&
geometricObject::getPointAt(gdouble)':
drgeo_geometricObject.h:81: warning: no return statement in function
returning non-void
drgeo_geometricObject.h: In member function 'virtual drgeoVector&
geometricObject::getClosestPoint(drgeoVector&)':
drgeo_geometricObject.h:84: warning: no return statement in function
returning non-void
drgeo_geometricObject.h: In member function 'virtual gdouble
geometricObject::getAbscissa(drgeoVector&)':
drgeo_geometricObject.h:87: warning: no return statement in function
returning non-void
drgeo_geometricObject.h: In member function 'virtual gboolean
geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)':
drgeo_geometricObject.h:91: warning: no return statement in function
returning non-void
In file included from /usr/include/gmp.h:41,
                 from /usr/include/libguile.h:48,
                 from /usr/include/guile/gh.h:24,
                 from ../drgenius_config.h:28,
                 from drgeo_figure.h:39,
                 from drgeo_drawable.h:33,
                 from drgeo_tool.h:30,
                 from drgeo_tool.cc:27:
/usr/include/gmp-i386.h: At global scope:
/usr/include/gmp-i386.h:520: error: 'std::FILE' has not been declared
In file included from drgeo_tool.h:30,
                 from drgeo_tool.cc:27:

So i added #include <cstdio> at the beginning of drgeo_tool.cc but the
problem is still here.

Someone could point me the solution ?

Thanks

Eric


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux