Re: Code compilation with GCC and GFORTRAN

2010-05-20 Thread Ian Lance Taylor
Muhammad Akbar writes: > I have a FORTRAN code that uses some c routines. I compile it with gcc > and gfortran in RedHat Linux without any problem. Recently I bought a > laptop with Ubuntu. I have gcc and gfortran version 4.4.3 in it. When > I compile the code, I see the following warning: > > wa

Re: Code compilation with GCC and GFORTRAN

2010-05-20 Thread Muhammad Akbar
Hello, I have a FORTRAN code that uses some c routines. I compile it with gcc and gfortran in RedHat Linux without any problem. Recently I bought a laptop with Ubuntu. I have gcc and gfortran version 4.4.3 in it. When I compile the code, I see the following warning: warning: ignoring return value

Code compilation with GCC and GFORTRAN

2010-05-20 Thread muhammad.k.akbar
Hello, I have a FORTRAN code that uses some c routines. I compile it with gcc and gfortran in RedHat Linux without any problem. Recently I bought a laptop with Ubuntu. I have gcc and gfortran version 4.4.3 in it. When I compile the code, I see the following warning: warning: ignoring return value