Menu

#2338 SDCC dropped support for legacy built-in defines without reflecting it in it's libraries

closed-fixed
None
other
5
2014-12-28
2014-12-28
Patryk
No
  1. Any code that uses for example stdio.h::printf_tiny().

  2. sdcc.exe any_code_that_uses_printf_tiny.c

  3. SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8 3.4.2 #9147 (Dec 26 2014) (MINGW64)

  4. PS_io.c:87: warning 112: function 'printf_tiny' implicit declaration
    PS_io.c:87: error 101: too many parameters
    printf_tiny() prototype in stdio.h is surrounded by legacy version of defines - SDCC_mcs51 vs __SDCC_mcs51. This change must have been introduced after 3.4.0/rc1/ #8960.

Discussion

  • Patryk

    Patryk - 2014-12-28

    By "this change" I mean dropped support for legacy built-in defines.

     
  • Philipp Klaus Krause

    Fixed in revision #9149. I did not notice any other occurances of legacy macros in device/include/*.h.

    Philipp

     
  • Philipp Klaus Krause

    • status: open --> closed-fixed
    • assigned_to: Philipp Klaus Krause
     

Log in to post a comment.