This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] PR18428: use libcpp for preprocessing (review of C/C++ and fortran maintainers needed)
- From: "Daniel Franke" <franke dot daniel at gmail dot com>
- To: "Danny Smith" <dansmister at gmail dot com>
- Cc: "Tobias Burnus" <burnus at net-b dot de>, fortran at gcc dot gnu dot org, FX <fxcoudert at gmail dot com>, gcc-patches at gcc dot gnu dot org, tromey at redhat dot com
- Date: Mon, 26 May 2008 11:04:17 +0200
- Subject: Re: [patch, fortran] PR18428: use libcpp for preprocessing (review of C/C++ and fortran maintainers needed)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=BJmPJSrKGc4KrhCT1GR7ZSj75I47neHnTvybme91Dxk=; b=LZnKQwSJquebS8QIsYIg7LoA2BKA4UzNG/wZmQIEc9fUQbnfLeM74CGV+PkP4+jtjnbxY3UScC0RaNRulzo9W/88PLiLdW4u9pYitpq7+RqUoZ9kFxZLtefzyeRuwnP6oV+552ce65bQ5FPfhPL6fJYcS07cyQPhEvhHx1IZmz8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZRPjzwCA0ZUE00rCd66sbSgvrEPWdqNn7xKc5Vwdo7DnCaNF3B/ZeWIsg8tpXwlmWn+4xYDLFY+DNSAiVJjZkUWmkuCvyVlkStC4hXSA/jLpp4phrnlq1O4JNVhD8iGiuss33EyaPzoNfPij9Ithx9U4OTnp+gnorNnkteTsFKc=
- References: <200804231933.46291.franke.daniel@gmail.com> <C49D969B-7325-4D58-95F5-658C8C78C4A5@gmail.com> <200805210923.25263.franke.daniel@gmail.com> <4839C0A5.2060404@net-b.de> <9c03c2dd0805260122s33ca2ed0ta997c4876f35b297@mail.gmail.com>
2008/5/26, Danny Smith <dansmister@gmail.com>:
>
> This patch also breaks mingw32
>
> ../../src/gcc/fortran/cpp.c: In function 'cpp_define_builtins':
> ../../src/gcc/fortran/cpp.c:222: error: 'flag_iso' undeclared (first
> use in this function)
Argh!
TARGET_CPU_CPP_BUILTINS ();
TARGET_OS_CPP_BUILTINS ();
TARGET_OBJFMT_CPP_BUILTINS ();
These macros use thing undefined for fortran (as flag_iso). Adding
these things was probably not the greatest thing to do, most likely
all the non-i686-pc-linux-gnu are now broken in some way :(
/me hides