This is the mail archive of the gcc@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]

How to add %' into gfc_fatal_error


Hi.

I would like to add %' into __gcc_gfc__ in order to handle:

./xgcc -B. /tmp/module.ii -Wformat -c
/home/marxin/Programming/gcc/gcc/fortran/module.c: In function ‘void dump_module(const char*, int)’:
/home/marxin/Programming/gcc/gcc/fortran/module.c:6205:19: warning: unknown conversion type character ‘'’ in format [-Wformat=]
 6205 |  gfc_fatal_error ("Can%'t delete module file %qs: %s", filename,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Can you please help me how to do that?
Thanks,
Martin


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