#212 Making <reg51.h> conforming keywords

None
closed-fixed
nobody
None
1
2013-09-24
2013-06-07
wek
No

<reg51.h> contains the deprecated/removed "at", "sfr" and "sbit" keywords, preventing older sources to be compiled with newer SDCC versions. Although this header is deprecated (and emits a warning saying so), I believe it deserves to be fixed once it's included among the "official" SDCC's includes.

The change is trivial, the changed source file is in attachment.

Jan Waclawek

1 Attachments

Discussion

  • Maarten Brock

    Maarten Brock - 2013-09-21

    I intend to replace its contents with:

    #warning This file (reg51.h) is obsolete, use one appropriate for your harware!
    #warning Falling back to include <8052.h>
    
    #include <8052.h>
    
     
  • Maarten Brock

    Maarten Brock - 2013-09-24
    • status: open --> closed-fixed
    • Group: -->
     
  • Maarten Brock

    Maarten Brock - 2013-09-24

    Fixed as announced in SDCC #8878.

     

Log in to post a comment.