Divide by zero at compilation time
Alberto Luaces
aluaces@udc.es
Thu Jun 28 07:56:00 GMT 2007
El Miércoles 27 Junio 2007, François-Xavier Coudert escribió:
> > 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
Thank you for the tip. Before you said that, I was thinking that the
compatibility between libgfortran versions was not warranteed.
More information about the Fortran
mailing list