Open polluks opened 2 years ago
I don't know how to remove this warning that is not raised by my compiler (gcc version 10.2.1 20201203). Maybe an array with an undefined length could solve this problem, but I know many C compilers would not agree!
My compiler: ppc-morphos-gcc-11 (GCC/MorphOS) 11.2.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
By the way: http://aminet.net/package/mus/misc/abcm2ps
I don't know how to remove this warning that is not raised by my compiler (gcc version 10.2.1 20201203). Maybe an array with an undefined length could solve this problem, but I know many C compilers would not agree!
Maybe just a matter of a #if __GNUC__ > 10
before the declaration of the array with undefined length (#else
what is already present)? But that would also require a macro to define SIZEOF_U_PS_TEXT or something...
That may sound too much for "just a warning", especially when I get the warnings about Pango too (#111) :wink:
Anyway, I can provide with a PR if that may be useful, I have the code ready for review (I wanted to check this issue, go figure… :wink:)
I think the commit 92163a7 should solve the problem.
Okay :laughing: Fine for me.