Posted: Mon Oct 08, 2007 2:07 pm
That error indicates it's likely the compiler options.
I'm on -> on AIX 5.2 DS 7.5.2
try this ->
/usr/vacpp/bin/xlc_r -c -O -qsourcetype=c++ greatest.c -o greatest.o
Or rename your .c file .cpp
I'm on -> on AIX 5.2 DS 7.5.2
try this ->
/usr/vacpp/bin/xlc_r -c -O -qsourcetype=c++ greatest.c -o greatest.o
Or rename your .c file .cpp