[OSRS-PROJ] C++ Compilation

Frank Warmerdam warmerdam at pobox.com
Mon Jul 8 05:13:50 PDT 2002


Paul Selormey wrote:
> Hello Frank,
> I do not understand. It is by changing the file names
> to *.cpp?

Paul,

The changes I made were cleaning up calling conventions, casting issues
and C/C++ calling convention ambiguities.  To test compiling as C++ using
the existing NMAKE based makefile, just add /TP to the CFLAGS macro.  This
VC++ flag forces files to be compiled as C++ regardless of their extension.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent


----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.



More information about the Proj mailing list