Problem compiling freetype

Michael Veksler VEKSLER@il.ibm.com
Mon Aug 6 08:09:00 GMT 2001


"string" is no longer in the global namespace, you should either write
std::string everywhere, or
add "using" keywords before the first use (e.g. "using std::string;" or
"using namespace std;").

Hope this helps

  Michael


Murali Potla <murali_linux@yahoo.com>@gcc.gnu.org on 06-08-2001 13:04:42

Please respond to murali_linux@yahoo.com

Sent by:  gcc-help-owner@gcc.gnu.org


To:   gcc-help@gcc.gnu.org
cc:
Subject:  Re: Problem compiling freetype



When i am trying to compile freetype using gcc-3.0
in ttkmkfdir2 directory
the following error is coming

libtool --mode=compile g++ -Wall -pedantic -I../freetype-pre1.4/lib/. -ggdb
-o ttmkfdir.o -c ttmkfdir.cpp
rm -f .libs/ttmkfdir.lo
g++ -Wall -pedantic -I../freetype-pre1.4/lib/. -ggdb -c ttmkfdir.cpp  -fPIC
-DPIC -o .libs/ttmkfdir.lo
In file included from ttmkfdir.cpp:7:
ttf.h:34: parse error before `&' token
make: *** [ttmkfdir.o] Error 1

Whats wrong here
I am sending that file as attchment

Thanks for ur help








More information about the Gcc-help mailing list