This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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, OOP] PR 44912: Segmentation fault on TBP


Hi Dominique,

> ../../work/gcc/fortran/module.c: In function 'read_module':
> ../../work/gcc/fortran/module.c:4374:4: error: implicit declaration of function 'strndup' [-Werror=implicit-function-declaration]
> ../../work/gcc/fortran/module.c:4374:30: error: incompatible implicit declaration of built-in function 'strndup' [-Werror]

good point. Guess that should be an 'xstrndup' ...

Cheers,
Janus

Attachment: pr44912.diff
Description: Binary data


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