the easier way: add "using namesapace std;" at the end of
h.h and in client.cpp add "#include <iostream>" before the
other include. works like a champ on os x 10.3.x.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Output of make(1)
Logged In: YES
user_id=171143
Seems that the code is too old for newer object types. Try
these fixes:
perl -pi -e 's/ios\:\:/std::ios::/g' src/*
perl -pi -e 's/log/tlog/g' src/*
perl -pi -e 's/tlog\.h/log.h/g' src/*
perl -pi -e 's/tlog/log/g' src/Makefile* src/options.h
perl -pi -e 's/<ctype\.h>/<cctype>/g' src/*
perl -pi -e 's/<errno\.h>/<cerrno>/g' src/*
perl -pi -e 's/<signal\.h>/<csignal>/g' src/*
perl -pi -e 's/<stdarg\.h>/<cstdarg>/g' src/*
perl -pi -e 's/<stdio\.h>/<cstdio>/g' src/*
perl -pi -e 's/<stdlib\.h>/<cstdlib>/g' src/*
perl -pi -e 's/<string\.h>/<cstring>/g' src/*
perl -pi -e 's/<time\.h>/<ctime>/g' src/*
perl -pi -e 's/<fstream\.h>/<fstream>\n#include
<iostream>/g' src/*
perl -pi -e 's/define QUESTION_H/define QUESTION_H\nusing
namespace std\;/g' src/question.h
perl -pi -e 's/001VERSION\n/001VERSION /' src/client.cpp
That seemed to have fix the compiling problem. Sorry about
the lack of patch form, but the commands should be easy to
plug into your favorite shell.
Logged In: YES
user_id=350099
the easier way: add "using namesapace std;" at the end of
h.h and in client.cpp add "#include <iostream>" before the
other include. works like a champ on os x 10.3.x.
Logged In: YES
user_id=847966
It's not giving me a go either....
terminal is giving me
make: *** No targets specified and no makefile found. Stop.
Could ya give me a few pointers? :)
I did the perl replacements