This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cleaning up #include's in libgfortran


On Fri, Aug 31, 2007 at 10:20:17AM +0100, François-Xavier Coudert wrote:
>> FX, didn't have time to look at your patch, but
>> are the hunks needed for PR31546 also included?
>> Specifically gfortran-4.3-PR31546-config.h-inc.01.diff
>> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14116) ?
>
>No, what I'm doing is the other way around: removing #include
>"config.h" and moving the #include "libgfortran.h" upper. It should
>have the same consequence, AFAICT.

Yes, it boils down to the same. We just have to make sure that config.h
is included before the (system-)headers to avoid pulling in the wrong
prototypes.

Thanks,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]