[tlbuild] [PATCH 1/1] Fix -Wimplicit-int, -Wstrict-prototypes

Karl Berry karl at freefriends.org
Sun Nov 6 23:16:36 CET 2022


    Subject: [tlbuild] [PATCH 1/1] Fix -Wimplicit-int, -Wstrict-prototypes

Argh. Installed. r64953.

For the future, it would be helpful if you could create ChangeLog
entries (not necessarily patches for the ChangeLog files, though
that would be ideal). Maybe some git-to-changelog can create them
automagically so neither you nor I have to write them by hand?

    (I've sent the relevant parts upstream for vendored projects, 

Thank you very very much. That is a huge time sink.

BTW, it would be even more ideal for patches to TL, in the case of such
projects maintained upstream, to add a new file "patch-NN-some-name" to
the TLpatches/ subdir. Else the changes will be lost with the next
release upstream, in the event they are not applied ... (I added such
files for this patch. Forgot yesterday.)

    Clang 16 makes -Wimplicit-int and -Wimplicit-function-declarations
    error out by default, and -Wstrict-prototypes is futureproofing for C23.

I suppose it is not up to you or me, but I have to ask, wouldn't it make
more sense to undo clang's new pickiness instead of endlessly placating
it?  Aside from it being a total waste of everyone's time, these changes
have a significant chance of creating gratuitous failures on older
systems with imperfect headers and/or compilers, i.e., all of them.

This constant "improving" by standards committees and/or compiler
writers of things that don't need improving is agonizing. --thanks, karl.


More information about the tlbuild mailing list.