Georg Icking-Konert
2017-05-06 06:01:12 UTC
again hello,
in the SDCC manual I read "SDCC supports the use of binary constants,
such as 0b01100010. This feature is only enabled when the compiler is
invoked using âstd-sdccxx"
However, calling SDCC for stm8 with âstd-sdccxx fails with "syntax
error" for the literal and a warning that "option '-s' no longer
supported". And caliing it with -âstd-sdccxx gives the same syntax error
and a warning "unknown compiler option '--std-sdccxx' ignored".
Does this mean that binary literals are not yet implemented for STM8...?
If they are, please let me know how to use them.
Thanks in advance!
Regards, Georg
in the SDCC manual I read "SDCC supports the use of binary constants,
such as 0b01100010. This feature is only enabled when the compiler is
invoked using âstd-sdccxx"
However, calling SDCC for stm8 with âstd-sdccxx fails with "syntax
error" for the literal and a warning that "option '-s' no longer
supported". And caliing it with -âstd-sdccxx gives the same syntax error
and a warning "unknown compiler option '--std-sdccxx' ignored".
Does this mean that binary literals are not yet implemented for STM8...?
If they are, please let me know how to use them.
Thanks in advance!
Regards, Georg