Compiler option to convert 'int' to 'long int'?

Hi all,

Is there a compiler option to convert ‘int’ to ‘long int’ within a C++ code? If not, what do you suggest as the easiest way to do this without manually changing all occurrences in the source.




There is no compiler option for that. I would do it manually or use some scripts to change source. I would not recommend any other method because of include files and system routines.


Thanks Hongyon for confirming my suspicions…

Much appreciated.