https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735
Bug ID: 119735
Summary: make gcc.pot generates warnings in the m2 code base
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: modula2
Assignee: gaius at gcc dot gnu.org
Reporter: gaius at gcc dot gnu.org
Target Milestone: ---
$ cd build/gcc
$ make gcc.pot
...
m2/gm2-compiler/SymbolTable.def:2028: warning: unterminated character constant
m2/gm2-gcc/m2expr.def:48: warning: unterminated character constant
m2/gm2-libiberty/pexecute.def:34: warning: unterminated character constant
m2/gm2-libiberty/pexecute.def:35: warning: unterminated character constant
m2/gm2-libiberty/pexecute.def:38: warning: unterminated character constant
m2/gm2-libiberty/pexecute.def:43: warning: unterminated character constant
m2/gm2-libiberty/pexecute.def:55: warning: unterminated character constant
m2/gm2-libiberty/pexecute.def:60: warning: unterminated character constant
m2/gm2-libiberty/pexecute.def:67: warning: unterminated character constant
m2/gm2-libiberty/pexecute.def:68: warning: unterminated character constant
m2/gm2-libs-coroutines/Executive.def:35: warning: unterminated character
constant
m2/gm2-libs-coroutines/Executive.def:88: warning: unterminated character
constant
m2/gm2-libs-coroutines/Executive.def:98: warning: unterminated character
constant
m2/gm2-libs-iso/ClientSocket.def:1: warning: unterminated character constant
m2/gm2-libs-log/BlockOps.def:53: warning: unterminated character constant
m2/gm2-libs-log/InOut.def:48: warning: unterminated character constant
m2/gm2-libs-log/InOut.def:66: warning: unterminated character constant
m2/mc/mcFileName.def:32: warning: unterminated character constant
m2/gm2-compiler/M2MetaError.def:76: warning: Empty msgid. It is reserved by
GNU gettext:
gettext("") returns the header
entry with
meta information, not the empty
string.
remove the ' from comments and remove the %n from a comment.