bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* Use module 'c99' when needed for compound literals
@ 2020-09-05 17:58 Bruno Haible
  0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2020-09-05 17:58 UTC (permalink / raw
  To: bug-gnulib

When compiling a gnulib testdir with CC="gcc -std=gnu90 -pedantic" (without
the 'c99' module) I see these warnings:

localeinfo.c:80:34: warning: ISO C90 forbids compound literals [-Wpedantic]
localeinfo.c:80:54: warning: ISO C90 forbids compound literals [-Wpedantic]
parse-datetime.y:176:43: warning: ISO C90 forbids compound literals [-Wpedantic]

Here, the modules
  dfa
  parse-datetime
already depend on 'c99'. Nothing to do.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-05 17:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-05 17:58 Use module 'c99' when needed for compound literals Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).