Need to re-Port a C++ source code to OSX10.7
Hi,
I am trying to port a C++ Genetics program called PHASE on behalf of the Author to OSX10.7 as the last time I did it was in PowerPC architecture. Unsurprisingly just running $ make doesn't work. I get the following error message:
$ make
g++ -O2 -DBIGDATASETS -I. -I.. -c phase.cpp
In file included from /usr/include/c++/4.2.1/backward/strstream:51,
from ./tnt/vec.h:35,
from tnt/cmat.h:42,
from classpop.hpp:19,
from phase.cpp:5:
/usr/include/c++/4.2.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from classpop.hpp:15,
from phase.cpp:5:
HapList2.hpp:59: error: extra qualification ‘HapList::’ on member ‘Add’
HapList2.hpp:60: error: extra qualification ‘HapList::’ on member ‘Add’
make: *** [phase.o] Error 1
I have no idea how to try and fix this problem. Is there anyone out there familiar with porting C++ source code to OSX10.7 that may be able to help.
many thanks
Matt
iMac, Mac OS X (10.7.3), 27" i7