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: [patch, fortran] PR18428: use libcpp for preprocessing (review of C/C++ and fortran maintainers needed)


On Mon, May 26, 2008 at 7:40 AM, Tobias Burnus <burnus@net-b.de> wrote:
> Daniel Franke wrote:
>>
>> Attached update of the Fortran side of the previous patch not only fixes
>> FX' requests, but also adds yet another option, namely -nocpp. Tobias B.
>> asked for this as a possibility to disable preprocessing if it would
>> otherwise be enabled by the respective file extensions.
>>
>> Btw, the C-side of things still needs reviewing. Condensed patch:
>>        http://gcc.gnu.org/ml/fortran/2008-05/msg00248.html
>>
>> Bootstrapped and regression tested on i686-pc-linux-gnu. Ok for trunk?
>>
>
> OK. Thanks for the patch. Can you also update the news section in the wiki?
>
> Tobias
>

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)
../../src/gcc/fortran/cpp.c:222: error: (Each undeclared identifier is
reported only once
../../src/gcc/fortran/cpp.c:222: error: for each function it appears in.)
../../src/gcc/fortran/cpp.c:222: warning: implicit declaration of
function 'builtin_define_with_int_value'
../../src/gcc/fortran/cpp.c:222: error: 'intmax_type_node' undeclared
(first use in this function)
../../src/gcc/fortran/cpp.c:222: warning: type defaults to 'int' in
declaration of '__t'
../../src/gcc/fortran/cpp.c:222: error: invalid type argument of '->'
(have 'int')
../../src/gcc/fortran/cpp.c:222: warning: passing argument 1 of
'tree_class_check_failed' makes pointer from integer without a cast
../../src/gcc/fortran/cpp.c:222: error: invalid type argument of '->'
(have 'int')


In TARGET_OS_CPP_BUILTINS()
config/i386/cygming.h references 'flag_iso'
config/i386/mingw32.h references  'builtin_define_with_int_value'
 and 'intmax_type_node'

Danny


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