Version 13 of the IDE

You can check if the macros are the problem by commenting them out of \hardware\cores\arduino\wiring.h

I do the following, but you can just enclose the lines with comments

//#define USE_PESKY_MACROS // uncomment this line to test with the pesky macros enabled
#ifdef USE_PESKY_MACROS
#define int(x)     ((int)(x))
#define char(x)    ((char)(x))
#define long(x)    ((long)(x))
#define byte(x)    ((uint8_t)(x))
#define float(x)   ((float)(x))
#endif