Closed Schievel1 closed 2 years ago
Thanks for bringing this up!
We should change this. Do you want to do a PR?
Thanks for bringing this up!
We should change this. Do you want to do a PR?
Yeah sure, I will send you a patch since I already made one for the package on gentoo
A clear and concise description of what the bug is.
Clang 16 will introduce a set of standard settings that will not allow function prototypes to be declared without their arguments. To simulate clang 16 behavior I set
in `/etc/clang/clang-stricter.cfg and use clang15
Then, during build I get
The problem is the prototype of function output_input in
src/remove.h
: https://github.com/ascii-boxes/boxes/blob/61562b0158dd27aabb8020a16b62a625ae4fc13c/src/remove.h#L25If you change it to a proper C2x prototype like this
void output_input(const int trim_only);
clang16 is happy.Environment (please complete the following information):
v2.2.0