Menu

#2091 lint.h should check for __SDCC_mcs51

closed-fixed
5
2012-10-15
2012-10-15
No

include/mcs51/lint.h still checks for SDCC_mcs51 instead of __SDCC_mcs51.

When compiling with --std-cXY, this can result in all sorts of nasties. As a very small example, both declarations below result in syntax errors:

#include <lint.h>

unsigned char data[8];
__bit a;

Discussion

  • Philipp Klaus Krause

    Fixed in revision #8147.

    Philipp

     
  • Philipp Klaus Krause

    • assigned_to: nobody --> spth
    • status: open --> closed-fixed
     

Log in to post a comment.