bug-gnulib
[Top][All Lists]
Advanced

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

Use module 'c99' when needed for declaration-after-statement syntax


From: Bruno Haible
Subject: Use module 'c99' when needed for declaration-after-statement syntax
Date: Sat, 05 Sep 2020 18:37:51 +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:

diffseq.h:511:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
git-merge-changelog.c:643:16: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
backupfile.c:267:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
backupfile.c:272:11: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
backupfile.c:318:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
backupfile.c:324:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
backupfile.c:329:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
backupfile.c:373:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
backupfile.c:376:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset.c:281:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset.c:397:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:58:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:68:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:151:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:229:11: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:337:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:58:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:68:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:151:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:229:11: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/array.c:337:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/stats.c:148:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/stats.c:248:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/stats.c:276:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/stats.c:585:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:130:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:335:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:375:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:401:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:434:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:535:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:542:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:605:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:659:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:818:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:927:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:934:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:964:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/table.c:1036:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:230:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:366:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:413:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:438:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:442:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:557:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:563:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:574:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:587:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:643:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:991:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:1031:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/list.c:1049:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:63:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:166:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:353:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:370:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:457:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:476:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:522:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:555:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:613:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:642:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:690:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:719:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:777:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:797:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:830:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:850:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:883:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitset/vector.c:903:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitsetv.c:42:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bitsetv.c:44:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
c-strtod.c:87:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
c-strtod.c:97:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:282:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:440:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:505:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:591:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:651:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:698:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:810:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:890:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:1010:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:1014:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:1041:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:1048:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:1105:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
clean-temp.c:1112:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
copy-file.c:65:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
copy-file.c:82:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
md5.c:153:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
md5.c:157:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
md5.c:159:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
sha1.c:141:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
sha1.c:145:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
sha1.c:147:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
sha256.c:191:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
sha256.c:195:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
sha256.c:197:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
sha512.c:192:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
sha512.c:196:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
sha512.c:198:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:831:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:1012:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:1014:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:1021:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:1259:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:1957:9: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:2229:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:2570:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:2698:13: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:2718:13: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:2856:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:2887:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:3010:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:3147:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:3275:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:3324:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:3424:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:3443:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:3940:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:3959:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:4154:13: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:4274:11: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:4289:11: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
dfa.c:4304:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
fatal-signal.c:221:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
filenamecat-lgpl.c:71:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
nstrftime.c:1127:13: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
diffseq.h:511:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
fstrcmp.c:40:16: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
gl_hash_map.c:154:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
gl_hash_set.c:143:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
gl_linkedhash_map.c:179:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
gl_linkedhash_set.c:168:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
long-options.c:113:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
nstrftime.c:1127:13: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
opendirat.c:44:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:397:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:470:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:1525:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:1609:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:1744:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:1751:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:1801:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:1811:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:1864:9: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:2056:15: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:2083:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:2152:11: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:2225:19: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:2323:13: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:2342:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
parse-datetime.y:2347:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
same.c:107:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
malloc/scratch_buffer_set_array_size.c:51:3: warning: ISO C90 forbids mixed 
declarations and code [-Wdeclaration-after-statement]
supersede.c:66:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
supersede.c:402:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
supersede.c:457:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
supersede.c:464:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
supersede.c:480:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
supersede.c:494:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
timespec-add.c:40:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
timespec-sub.c:40:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
uniname/uniname.c:82:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
xmalloc.c:72:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
xnanosleep.c:53:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
fchmodat.c:102:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
fchmodat.c:105:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
fsusage.c:162:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
fts.c:1425:17: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
getumask.c:111:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
getumask.c:117:11: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
glob.c:160:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
glob.c:600:11: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
glob.c:822:13: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
lchmod.c:64:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
lchmod.c:80:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
lchmod.c:83:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
mbrtoc32.c:116:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
mktime.c:284:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
mktime.c:383:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
mktime.c:394:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
regcomp.c:3709:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
regexec.c:3320:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
time_rz.c:314:11: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
../gllib/argmatch.h:284:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:53:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:55:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:57:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:59:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:63:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:65:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:67:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:69:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:181:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:188:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-bitset.c:197:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-md5.c:62:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-md5.c:83:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-md5.c:86:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-md5.c:95:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha1.c:60:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha1.c:83:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha1.c:86:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha1.c:96:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha256.c:60:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha256.c:83:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha256.c:86:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha256.c:96:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha512.c:60:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha512.c:87:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha512.c:90:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-hmac-sha512.c:102:5: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:81:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:94:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:97:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:81:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:94:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:97:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:81:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:94:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:97:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:81:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:94:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:97:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:81:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:94:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:97:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:81:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:94:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
bench-digest.h:97:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-libgmp.c:63:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-libgmp.c:68:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-libtextstyle.c:76:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-memchr2.c:51:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-memmem.c:76:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-memrchr.c:52:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-quotearg-simple.c:347:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-quotearg-simple.c:356:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:32:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:46:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:55:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:83:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:103:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:123:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:152:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:181:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:210:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:225:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-open.h:244:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:32:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:47:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:56:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:85:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:105:5: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:126:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:155:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:184:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:213:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:228:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
test-supersede-fopen.h:247:9: warning: ISO C90 forbids mixed declarations and 
code [-Wdeclaration-after-statement]
unistr/test-chr.h:51:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
unistr/test-chr.h:51:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
unistr/test-chr.h:51:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
test-fts.c:143:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]

All of these modules therefore need a dependency to 'c99'.

Only few of them currently already have this dependency:
  bitset
  dfa
  filenamecat-lgpl
  glob
  mktime
  regex
  scratch_buffer
  timespec-add
  timespec-sub
  uniname/uniname

Here's a patch that adds it to the other modules in this list.


2020-09-05  Bruno Haible  <bruno@clisp.org>

        Use module 'c99' when needed for declaration-after-statement syntax.
        * modules/backup-rename (Depends-on): Add c99.
        * modules/backupfile (Depends-on): Likewise.
        * modules/bitset-tests (Depends-on): Likewise.
        * modules/bitsetv (Depends-on): Likewise.
        * modules/c-strtod (Depends-on): Likewise.
        * modules/c-strtold (Depends-on): Likewise.
        * modules/clean-temp (Depends-on): Likewise.
        * modules/copy-file (Depends-on): Likewise.
        * modules/crypto/hmac-md5-tests (Depends-on): Likewise.
        * modules/crypto/hmac-sha1-tests (Depends-on): Likewise.
        * modules/crypto/hmac-sha256-tests (Depends-on): Likewise.
        * modules/crypto/hmac-sha512-tests (Depends-on): Likewise.
        * modules/crypto/md5-buffer (Depends-on): Likewise.
        * modules/crypto/md5-tests (Depends-on): Likewise.
        * modules/crypto/sha1-buffer (Depends-on): Likewise.
        * modules/crypto/sha1-tests (Depends-on): Likewise.
        * modules/crypto/sha256-buffer (Depends-on): Likewise.
        * modules/crypto/sha256-tests (Depends-on): Likewise.
        * modules/crypto/sha512-buffer (Depends-on): Likewise.
        * modules/crypto/sha512-tests (Depends-on): Likewise.
        * modules/diffseq (Depends-on): Likewise.
        * modules/fatal-signal (Depends-on): Likewise.
        * modules/fchmodat (Depends-on): Likewise.
        * modules/fstrcmp (Depends-on): Likewise.
        * modules/fsusage (Depends-on): Likewise.
        * modules/fts (Depends-on): Likewise.
        * modules/fts-tests (Depends-on): Likewise.
        * modules/getumask (Depends-on): Likewise.
        * modules/git-merge-changelog (Depends-on): Likewise.
        * modules/hash-map (Depends-on): Likewise.
        * modules/hash-set (Depends-on): Likewise.
        * modules/lchmod (Depends-on): Likewise.
        * modules/libgmp-tests (Depends-on): Likewise.
        * modules/libtextstyle-optional-tests (Depends-on): Likewise.
        * modules/linkedhash-map (Depends-on): Likewise.
        * modules/linkedhash-set (Depends-on): Likewise.
        * modules/long-options (Depends-on): Likewise.
        * modules/mbrtoc32 (Depends-on): Likewise.
        * modules/memchr2-tests (Depends-on): Likewise.
        * modules/memmem-tests (Depends-on): Likewise.
        * modules/memrchr-tests (Depends-on): Likewise.
        * modules/mktime-internal (Depends-on): Likewise.
        * modules/nstrftime (Depends-on): Likewise.
        * modules/opendirat (Depends-on): Likewise.
        * modules/parse-datetime (Depends-on): Likewise.
        * modules/quotearg-simple-tests (Depends-on): Likewise.
        * modules/same (Depends-on): Likewise.
        * modules/supersede (Depends-on): Likewise.
        * modules/supersede-tests (Depends-on): Likewise.
        * modules/time_rz (Depends-on): Likewise.
        * modules/unistr/u16-chr-tests (Depends-on): Likewise.
        * modules/unistr/u32-chr-tests (Depends-on): Likewise.
        * modules/unistr/u8-chr-tests (Depends-on): Likewise.
        * modules/xalloc (Depends-on): Likewise.
        * modules/xnanosleep (Depends-on): Likewise.

diff --git a/modules/backup-rename b/modules/backup-rename
index be12c90..cdc96e6 100644
--- a/modules/backup-rename
+++ b/modules/backup-rename
@@ -12,6 +12,7 @@ Depends-on:
 argmatch
 attribute
 basename-lgpl
+c99
 closedir
 d-ino
 dirent-safer
diff --git a/modules/backupfile b/modules/backupfile
index 76f223a..2ca1e54 100644
--- a/modules/backupfile
+++ b/modules/backupfile
@@ -12,6 +12,7 @@ Depends-on:
 argmatch
 attribute
 basename-lgpl
+c99
 closedir
 d-ino
 dirent-safer
diff --git a/modules/bitset-tests b/modules/bitset-tests
index f9a0f90..bafd916 100644
--- a/modules/bitset-tests
+++ b/modules/bitset-tests
@@ -3,6 +3,7 @@ tests/test-bitset.c
 tests/macros.h
 
 Depends-on:
+c99
 
 configure.ac:
 
diff --git a/modules/bitsetv b/modules/bitsetv
index 4b6c1a8..4d9be99 100644
--- a/modules/bitsetv
+++ b/modules/bitsetv
@@ -7,6 +7,7 @@ lib/bitsetv.h
 
 Depends-on:
 bitset
+c99
 xalloc
 
 Makefile.am:
diff --git a/modules/c-strtod b/modules/c-strtod
index 71b292e..a2741c5 100644
--- a/modules/c-strtod
+++ b/modules/c-strtod
@@ -8,6 +8,7 @@ m4/c-strtod.m4
 m4/intl-thread-locale.m4
 
 Depends-on:
+c99
 extensions
 locale
 strdup-posix
diff --git a/modules/c-strtold b/modules/c-strtold
index c7f31db..f642a88 100644
--- a/modules/c-strtold
+++ b/modules/c-strtold
@@ -9,6 +9,7 @@ m4/c-strtod.m4
 m4/intl-thread-locale.m4
 
 Depends-on:
+c99
 extensions
 locale
 strdup-posix
diff --git a/modules/clean-temp b/modules/clean-temp
index 69157a5..2794b93 100644
--- a/modules/clean-temp
+++ b/modules/clean-temp
@@ -6,6 +6,7 @@ lib/clean-temp.h
 lib/clean-temp.c
 
 Depends-on:
+c99
 stdbool
 stdint
 unistd
diff --git a/modules/copy-file b/modules/copy-file
index 293ad6a..6140c72 100644
--- a/modules/copy-file
+++ b/modules/copy-file
@@ -9,6 +9,7 @@ m4/copy-file.m4
 Depends-on:
 acl-permissions
 binary-io
+c99
 close
 copy-file-range
 error
diff --git a/modules/crypto/hmac-md5-tests b/modules/crypto/hmac-md5-tests
index 7de2d59..ddf20d9 100644
--- a/modules/crypto/hmac-md5-tests
+++ b/modules/crypto/hmac-md5-tests
@@ -2,6 +2,7 @@ Files:
 tests/test-hmac-md5.c
 
 Depends-on:
+c99
 
 configure.ac:
 
diff --git a/modules/crypto/hmac-sha1-tests b/modules/crypto/hmac-sha1-tests
index ae8a0df..5606df6 100644
--- a/modules/crypto/hmac-sha1-tests
+++ b/modules/crypto/hmac-sha1-tests
@@ -2,6 +2,7 @@ Files:
 tests/test-hmac-sha1.c
 
 Depends-on:
+c99
 
 configure.ac:
 
diff --git a/modules/crypto/hmac-sha256-tests b/modules/crypto/hmac-sha256-tests
index c5483da..3f93819 100644
--- a/modules/crypto/hmac-sha256-tests
+++ b/modules/crypto/hmac-sha256-tests
@@ -2,6 +2,7 @@ Files:
 tests/test-hmac-sha256.c
 
 Depends-on:
+c99
 
 configure.ac:
 
diff --git a/modules/crypto/hmac-sha512-tests b/modules/crypto/hmac-sha512-tests
index 877dd3b..7e36dfb 100644
--- a/modules/crypto/hmac-sha512-tests
+++ b/modules/crypto/hmac-sha512-tests
@@ -2,6 +2,7 @@ Files:
 tests/test-hmac-sha512.c
 
 Depends-on:
+c99
 
 configure.ac:
 
diff --git a/modules/crypto/md5-buffer b/modules/crypto/md5-buffer
index fb5763e..cd51cab 100644
--- a/modules/crypto/md5-buffer
+++ b/modules/crypto/md5-buffer
@@ -10,6 +10,7 @@ m4/md5.m4
 
 Depends-on:
 byteswap
+c99
 extern-inline
 stdalign
 stdint
diff --git a/modules/crypto/md5-tests b/modules/crypto/md5-tests
index 177bd41..c1160f1 100644
--- a/modules/crypto/md5-tests
+++ b/modules/crypto/md5-tests
@@ -6,6 +6,7 @@ tests/bench-digest.h
 tests/macros.h
 
 Depends-on:
+c99
 getrusage
 gettimeofday
 
diff --git a/modules/crypto/sha1-buffer b/modules/crypto/sha1-buffer
index 55a5420..a934d4e 100644
--- a/modules/crypto/sha1-buffer
+++ b/modules/crypto/sha1-buffer
@@ -10,6 +10,7 @@ m4/sha1.m4
 
 Depends-on:
 byteswap
+c99
 extern-inline
 stdalign
 stdint
diff --git a/modules/crypto/sha1-tests b/modules/crypto/sha1-tests
index b30d7e5..366e4aa 100644
--- a/modules/crypto/sha1-tests
+++ b/modules/crypto/sha1-tests
@@ -6,6 +6,7 @@ tests/bench-digest.h
 tests/macros.h
 
 Depends-on:
+c99
 getrusage
 gettimeofday
 
diff --git a/modules/crypto/sha256-buffer b/modules/crypto/sha256-buffer
index 055275a..85529a3 100644
--- a/modules/crypto/sha256-buffer
+++ b/modules/crypto/sha256-buffer
@@ -10,6 +10,7 @@ m4/sha256.m4
 
 Depends-on:
 byteswap
+c99
 extern-inline
 stdalign
 stdint
diff --git a/modules/crypto/sha256-tests b/modules/crypto/sha256-tests
index 693b1bc..fb9e06d 100644
--- a/modules/crypto/sha256-tests
+++ b/modules/crypto/sha256-tests
@@ -7,6 +7,7 @@ tests/bench-digest.h
 tests/macros.h
 
 Depends-on:
+c99
 getrusage
 gettimeofday
 
diff --git a/modules/crypto/sha512-buffer b/modules/crypto/sha512-buffer
index 7c5f64d..416a0b5 100644
--- a/modules/crypto/sha512-buffer
+++ b/modules/crypto/sha512-buffer
@@ -10,6 +10,7 @@ m4/sha512.m4
 
 Depends-on:
 byteswap
+c99
 extern-inline
 stdalign
 stdint
diff --git a/modules/crypto/sha512-tests b/modules/crypto/sha512-tests
index d448031..fba9dc5 100644
--- a/modules/crypto/sha512-tests
+++ b/modules/crypto/sha512-tests
@@ -7,6 +7,7 @@ tests/bench-digest.h
 tests/macros.h
 
 Depends-on:
+c99
 getrusage
 gettimeofday
 
diff --git a/modules/diffseq b/modules/diffseq
index 28ee829..7591521 100644
--- a/modules/diffseq
+++ b/modules/diffseq
@@ -5,6 +5,7 @@ Files:
 lib/diffseq.h
 
 Depends-on:
+c99
 
 configure.ac:
 
diff --git a/modules/fatal-signal b/modules/fatal-signal
index 7029687..6c49f2b 100644
--- a/modules/fatal-signal
+++ b/modules/fatal-signal
@@ -8,6 +8,7 @@ m4/fatal-signal.m4
 m4/sig_atomic_t.m4
 
 Depends-on:
+c99
 xalloc
 stdbool
 unistd
diff --git a/modules/fchmodat b/modules/fchmodat
index 83e14ab..975889b 100644
--- a/modules/fchmodat
+++ b/modules/fchmodat
@@ -10,6 +10,7 @@ Depends-on:
 sys_stat
 extensions
 at-internal     [test $HAVE_FCHMODAT = 0]
+c99             [test $REPLACE_FCHMODAT = 1]
 errno           [test $HAVE_FCHMODAT = 0 || test $REPLACE_FCHMODAT = 1]
 extern-inline   [test $HAVE_FCHMODAT = 0]
 fchdir          [test $HAVE_FCHMODAT = 0]
diff --git a/modules/fstrcmp b/modules/fstrcmp
index 77de7a0..03804c9 100644
--- a/modules/fstrcmp
+++ b/modules/fstrcmp
@@ -6,6 +6,7 @@ lib/fstrcmp.h
 lib/fstrcmp.c
 
 Depends-on:
+c99
 diffseq
 lock
 tls
diff --git a/modules/fsusage b/modules/fsusage
index ba85196..b5344c4 100644
--- a/modules/fsusage
+++ b/modules/fsusage
@@ -7,6 +7,7 @@ lib/fsusage.c
 m4/fsusage.m4
 
 Depends-on:
+c99
 largefile
 stdbool
 stdint
diff --git a/modules/fts b/modules/fts
index b06d5b8..4f49b88 100644
--- a/modules/fts
+++ b/modules/fts
@@ -9,6 +9,7 @@ m4/fts.m4
 
 Depends-on:
 attribute
+c99
 closedir
 cycle-check
 d-ino
diff --git a/modules/fts-tests b/modules/fts-tests
index 1a9dce0..fc1e479 100644
--- a/modules/fts-tests
+++ b/modules/fts-tests
@@ -5,6 +5,7 @@ Files:
 tests/test-fts.c
 
 Depends-on:
+c99
 errno
 remove
 unlinkat
diff --git a/modules/getumask b/modules/getumask
index 9f19a0e..f7784da 100644
--- a/modules/getumask
+++ b/modules/getumask
@@ -8,6 +8,7 @@ m4/getumask.m4
 Depends-on:
 sys_stat
 extensions
+c99             [test $HAVE_GETUMASK = 0]
 unistd          [test $HAVE_GETUMASK = 0]
 clean-temp      [test $HAVE_GETUMASK = 0]
 tempname        [test $HAVE_GETUMASK = 0]
diff --git a/modules/git-merge-changelog b/modules/git-merge-changelog
index 64c472c..c58ddc7 100644
--- a/modules/git-merge-changelog
+++ b/modules/git-merge-changelog
@@ -5,6 +5,7 @@ Files:
 lib/git-merge-changelog.c
 
 Depends-on:
+c99
 getopt-gnu
 stdbool
 stdlib
diff --git a/modules/hash-map b/modules/hash-map
index 63d72f4..cfe1006 100644
--- a/modules/hash-map
+++ b/modules/hash-map
@@ -12,6 +12,7 @@ Depends-on:
 map
 stdint
 xsize
+c99
 
 configure.ac:
 
diff --git a/modules/hash-set b/modules/hash-set
index 4d95e74..62a0f1b 100644
--- a/modules/hash-set
+++ b/modules/hash-set
@@ -12,6 +12,7 @@ Depends-on:
 set
 stdint
 xsize
+c99
 
 configure.ac:
 
diff --git a/modules/lchmod b/modules/lchmod
index ae67c03..dd88754 100644
--- a/modules/lchmod
+++ b/modules/lchmod
@@ -6,6 +6,7 @@ lib/lchmod.c
 m4/lchmod.m4
 
 Depends-on:
+c99           [test $HAVE_LCHMOD = 0]
 errno         [test $HAVE_LCHMOD = 0]
 extensions
 fcntl-h       [test $HAVE_LCHMOD = 0]
diff --git a/modules/libgmp-tests b/modules/libgmp-tests
index 94faf1c..a80c478 100644
--- a/modules/libgmp-tests
+++ b/modules/libgmp-tests
@@ -3,6 +3,7 @@ tests/macros.h
 tests/test-libgmp.c
 
 Depends-on:
+c99
 verify
 
 configure.ac:
diff --git a/modules/libtextstyle-optional-tests 
b/modules/libtextstyle-optional-tests
index 00d96b3..e930a00 100644
--- a/modules/libtextstyle-optional-tests
+++ b/modules/libtextstyle-optional-tests
@@ -3,6 +3,7 @@ tests/test-libtextstyle.c
 tests/test-libtextstyle-default.css
 
 Depends-on:
+c99
 isatty
 
 configure.ac:
diff --git a/modules/linkedhash-map b/modules/linkedhash-map
index d495cb2..9cd87f9 100644
--- a/modules/linkedhash-map
+++ b/modules/linkedhash-map
@@ -12,6 +12,7 @@ Depends-on:
 map
 stdint
 xsize
+c99
 
 configure.ac:
 
diff --git a/modules/linkedhash-set b/modules/linkedhash-set
index 2ee88c3..f47a719 100644
--- a/modules/linkedhash-set
+++ b/modules/linkedhash-set
@@ -12,6 +12,7 @@ Depends-on:
 set
 stdint
 xsize
+c99
 
 configure.ac:
 
diff --git a/modules/long-options b/modules/long-options
index b845d42..fc0b53e 100644
--- a/modules/long-options
+++ b/modules/long-options
@@ -6,6 +6,7 @@ lib/long-options.h
 lib/long-options.c
 
 Depends-on:
+c99
 exitfail
 getopt-gnu
 stdbool
diff --git a/modules/mbrtoc32 b/modules/mbrtoc32
index e99c0f0..2e5042a 100644
--- a/modules/mbrtoc32
+++ b/modules/mbrtoc32
@@ -19,6 +19,7 @@ m4/visibility.m4
 Depends-on:
 uchar
 attribute       [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]
+c99             [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && 
test $REPLACE_MBSTATE_T = 0]
 hard-locale     [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && 
test $REPLACE_MBSTATE_T = 0]
 mbrtowc         [{ test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1; } && 
test $REPLACE_MBSTATE_T = 0]
 localcharset    [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1]
diff --git a/modules/memchr2-tests b/modules/memchr2-tests
index 66901ae..cbd9cd2 100644
--- a/modules/memchr2-tests
+++ b/modules/memchr2-tests
@@ -5,6 +5,7 @@ tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
+c99
 extensions
 getpagesize
 
diff --git a/modules/memmem-tests b/modules/memmem-tests
index 250ccbf..084ee1b 100644
--- a/modules/memmem-tests
+++ b/modules/memmem-tests
@@ -6,6 +6,7 @@ tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
+c99
 extensions
 getpagesize
 
diff --git a/modules/memrchr-tests b/modules/memrchr-tests
index e3af277..2b4a9bd 100644
--- a/modules/memrchr-tests
+++ b/modules/memrchr-tests
@@ -6,6 +6,7 @@ tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
+c99
 extensions
 getpagesize
 
diff --git a/modules/mktime-internal b/modules/mktime-internal
index 1465c90..40313d6 100644
--- a/modules/mktime-internal
+++ b/modules/mktime-internal
@@ -6,6 +6,7 @@ lib/mktime-internal.h
 lib/mktime.c
 
 Depends-on:
+c99
 mktime
 
 configure.ac:
diff --git a/modules/nstrftime b/modules/nstrftime
index 9db0c75..64e255c 100644
--- a/modules/nstrftime
+++ b/modules/nstrftime
@@ -9,6 +9,7 @@ m4/nstrftime.m4
 
 Depends-on:
 attribute
+c99
 errno
 extensions
 intprops
diff --git a/modules/opendirat b/modules/opendirat
index 2e1798f..17542ff 100644
--- a/modules/opendirat
+++ b/modules/opendirat
@@ -6,6 +6,7 @@ lib/opendirat.c
 lib/opendirat.h
 
 Depends-on:
+c99
 dirent
 fcntl-h
 fdopendir
diff --git a/modules/parse-datetime b/modules/parse-datetime
index fb49ebb..1467519 100644
--- a/modules/parse-datetime
+++ b/modules/parse-datetime
@@ -10,6 +10,7 @@ m4/parse-datetime.m4
 
 Depends-on:
 bison
+c99
 c-ctype
 stdbool
 gettime
diff --git a/modules/quotearg-simple-tests b/modules/quotearg-simple-tests
index 5470dfe..dbbd94e 100644
--- a/modules/quotearg-simple-tests
+++ b/modules/quotearg-simple-tests
@@ -6,6 +6,7 @@ tests/zerosize-ptr.h
 m4/mmap-anon.m4
 
 Depends-on:
+c99
 stdint
 
 configure.ac:
diff --git a/modules/same b/modules/same
index f4926be..979cdcd 100644
--- a/modules/same
+++ b/modules/same
@@ -8,6 +8,7 @@ lib/same.c
 m4/same.m4
 
 Depends-on:
+c99
 error
 dirname
 fstat
diff --git a/modules/supersede b/modules/supersede
index cf6e196..b01ca52 100644
--- a/modules/supersede
+++ b/modules/supersede
@@ -7,6 +7,7 @@ lib/supersede.c
 m4/supersede.m4
 
 Depends-on:
+c99
 fcntl-h
 sys_stat
 clean-temp
diff --git a/modules/supersede-tests b/modules/supersede-tests
index 811d8f6..932cd2c 100644
--- a/modules/supersede-tests
+++ b/modules/supersede-tests
@@ -5,6 +5,7 @@ tests/test-supersede-fopen.h
 tests/macros.h
 
 Depends-on:
+c99
 mkdtemp
 filenamecat
 write
diff --git a/modules/time_rz b/modules/time_rz
index 0285add..699a61d 100644
--- a/modules/time_rz
+++ b/modules/time_rz
@@ -18,6 +18,7 @@ lib/time_rz.c
 m4/time_rz.m4
 
 Depends-on:
+c99
 extensions
 time
 flexmember     [test $HAVE_TIMEZONE_T = 0]
diff --git a/modules/unistr/u16-chr-tests b/modules/unistr/u16-chr-tests
index cd274d6..d6bf771 100644
--- a/modules/unistr/u16-chr-tests
+++ b/modules/unistr/u16-chr-tests
@@ -6,6 +6,7 @@ tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
+c99
 extensions
 getpagesize
 unistr/u16-set
diff --git a/modules/unistr/u32-chr-tests b/modules/unistr/u32-chr-tests
index 3dccee7..81fc8d7 100644
--- a/modules/unistr/u32-chr-tests
+++ b/modules/unistr/u32-chr-tests
@@ -6,6 +6,7 @@ tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
+c99
 extensions
 getpagesize
 unistr/u32-set
diff --git a/modules/unistr/u8-chr-tests b/modules/unistr/u8-chr-tests
index 9b015a3..7b0bf8d 100644
--- a/modules/unistr/u8-chr-tests
+++ b/modules/unistr/u8-chr-tests
@@ -6,6 +6,7 @@ tests/macros.h
 m4/mmap-anon.m4
 
 Depends-on:
+c99
 extensions
 getpagesize
 unistr/u8-set
diff --git a/modules/xalloc b/modules/xalloc
index b107da9..c6e3cfd 100644
--- a/modules/xalloc
+++ b/modules/xalloc
@@ -7,6 +7,7 @@ lib/xmalloc.c
 m4/xalloc.m4
 
 Depends-on:
+c99
 extern-inline
 stdint
 xalloc-die
diff --git a/modules/xnanosleep b/modules/xnanosleep
index cc9069c..9f12ff3 100644
--- a/modules/xnanosleep
+++ b/modules/xnanosleep
@@ -7,6 +7,7 @@ lib/xnanosleep.c
 m4/xnanosleep.m4
 
 Depends-on:
+c99
 dtotimespec
 intprops
 nanosleep




reply via email to

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