Dear Omar, The error occurs since using: #include "iostream.h" to include the iostream header files is being replaced by: #include <iostream> The former is now an error on some new compilers. You can edit and change the file testcode.C or ignore the error if you don't need to run the tests. Regards, Bill Omar Quijano wrote:
Bill,I was trying to compile the new version of Overture and during the A++ installation I get the following error:Making all in TESTSgmake[3]: Entering directory `/home/omar_quijano/Overture/A++P++-0.7.9d/A++/TESTS'cd .. && \ CONFIG_HEADERS= CONFIG_LINKS= \ CONFIG_FILES=TESTS/Makefile /bin/sh ./config.status config.status: creating TESTS/Makefilegmake[3]: Leaving directory `/home/omar_quijano/Overture/A++P++-0.7.9d/A++/TESTS' gmake[3]: Entering directory `/home/omar_quijano/Overture/A++P++-0.7.9d/A++/TESTS' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../include -I../include -O -Wstrict-prototypes -fPIC -c -o testcode.o `test -f testcode.C || echo './'`testcode.C cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++testcode.C:9:21: error: iostream.h: No such file or directory gmake[3]: *** [testcode.o] Error 1gmake[3]: Leaving directory `/home/omar_quijano/Overture/A++P++-0.7.9d/A++/TESTS'gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/home/omar_quijano/Overture/A++P++-0.7.9d/A++' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/home/omar_quijano/Overture/A++P++-0.7.9d/A++' make: *** [all-recursive] Error 1I configured my A++ with --enable-SHARED_LIBS -prefix=`pwd`; I tried configuring it without the --enable-SHARED_LIBS; I changed iostream inside the A++_header.h to iostream.h; I used the A++_header.h~ and A++_notemplates.h~; I configured it with gcc and g++, gcc and c++; I went to the TEST directory and did the make file with the i option and it worked, but I am not sure if that is the way to proceed since it ignores the errors.I am running on:Linux 2.6.25.18-0.2-pae #1 SMP 2008-10-21 16:30:26 +0200 i686 i686 i386 GNU/Linux gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)Please advice, Omar