bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use module 'c99' when needed for compound literals


From: Bruno Haible
Subject: Use module 'c99' when needed for compound literals
Date: Sat, 05 Sep 2020 19:58:08 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-186-generic; KDE/5.18.0; x86_64; ; )

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]