[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Protection of snippet in config.h

From: Bruno Haible
Subject: Re: Protection of snippet in config.h
Date: Tue, 03 Jan 2012 01:50:26 +0100
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

[Bastien, there's no point in removing bug-gnulib from the CC.]

bastien ROUCARIES wrote:
> > How does the config.h look like that does not work for you?
> See previous answer.

I don't see anything dangerous in this file: Why should identifiers like
_Noreturn, _GL_UNUSED, _UNUSED_PARAMETER_, etc. be more dangerous in Fortran
than in C?

> > Do they define the macro _LANGUAGE_FORTRAN, like g77 does?

> see http://fortranwiki.org/fortran/show/Predefined+preprocessor+macros

OK, this means that if we ever need to exclude some definition in config.h
from Fortran compilations, we can do it with an

/* When compiling Fortran code with a non-GNU compiler, you are responsible
   for definiting _LANGUAGE_FORTRAN yourself. */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]