Divide by zero at compilation time
François-Xavier Coudert
fxcoudert@gmail.com
Wed Jun 27 08:27:00 GMT 2007
> for now I have to
> stick with the compiler provided with my system as my project is a
> C++/FORTRAN one, and upgrading to 4.3 would force me to recompile all my C++
> libraries with g++ 4.3
While it is not easy to mix Fortran object files compiled with
different versions of gfortran, it is perfectly possible to compile
some mixed C++/Fortran code using different compilers for the Fortran
and C++ part. Using gfortran-4.3 and g++-4.2, for example, should be
trivial. (You could probably even use a non-GNU C++ compiler and mix
that with the code generated by gfortran, although the name-mangling
of symbols might require some attention.)
FX
More information about the Fortran
mailing list