I got this from 'make syntax-check' in a project:
oathtool/oathtool.c-225- printf ("Step size (seconds): %ld\n",
time_step_size);
oathtool/oathtool.c-235- printf ("Time now: %s (%ld)\n", outstr, when);
maint.mk: found capitalized error message
make: *** [sc_error_message_uppercase] Fel 1
Is the regexp wrong here? It looks fine to me, maint.mk:
# Error messages should not start with a capital letter
sc_error_message_uppercase:
@grep -nEA2 '[^rp]error *\(' $$($(VC_LIST_EXCEPT)) \
| grep -E '"[A-Z]' \
| grep -vE '"FATAL|"WARNING|"Java|"C#|PRIuMAX' && \
{ echo '$(ME): found capitalized error message' 1>&2; \
exit 1; } || :
The project is using the latest gnulib files as of today.
/Simon