> 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
Hello Georg, You are kindly requested to replace the XX in --std-sdccXX with the year of the C standard you wish to use. E.g. --std-sdcc99. Further you seem to use different dashes before std. Maarten ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user