I'd like to make a small survey.
With my last fix I've introduced this warning. It's high time for me to
clean up the resulting problems. I'm still supprised, that up to now nobody
shot me ;-) After all the next potentially annoying patch is nearly ready to
> warning 187: ISO C90 does not support flexible array members
I just copied this message from gcc, it was easy to implement in sdcc. Now
it appears when compiling the libraries (you've certainly already seen it).
malloc.h, which is included by stdlib.h, uses flexible arrays. sdcc
uses --std-sdcc89 by default, therefore the warning is emitted.
Now I'm not familiar with the purpose of this --std-[sdc]c9 stuff.
o Do we really need warnings like this #187?
o Should the library be comliant with ISO C90, or is it allowed to use C99?
o Finally: can we compile the library with --std-sdcc99?