The attached code compiles without error or warning.
The resulting code incorrectly references code pointer
array 's' as if it were a generic pointer array in
function 'void proba(char* str, ...);'. It seems the
compiler does not completely validate the storage class
specification during formal and actual parameter
Expected behaviour: error message indicating
incompatible storage class or incompatible types.
Command used to run SDCC:
ds400/hc08 2.5.2 #1103 (Sep 2 2005) (MINGW32)
Log in to post a comment.