This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem compiling freetype




"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







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]