#2091 lint.h should check for __SDCC_mcs51

closed-fixed
5
2012-10-15
2012-10-15
George Oikonomou
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

  • Fixed in revision #8147.

    Philipp

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