enum internal conflicts with SDFat internal


  • Hardware Contributor

    type def Internal conflicts....

    C:\Users\Net\Desktop\arduino-1.5.2-windows\arduino-1.5.2\libraries\SdFat/ios.h: In function 'ios_base& internal(ios_base&)':
    C:\Users\Net\Desktop\arduino-1.5.2-windows\arduino-1.5.2\libraries\SdFat/ios.h:232: error: 'ios_base& internal(ios_base&)' redeclared as different kind of symbol
    C:\Users\Net\Desktop\arduino-1.5.2-windows\arduino-1.5.2\libraries\MySensors/MyMessage.h:51: error: previous declaration of 'typedef enum internal internal'

    **Also other potential conflicts..
    **
    typedef enum {
    ...
    } data;

    typedef enum {
    ...
    } stream;

    Would it be better to prefix these typedef with mysensor_ like mysensor_data, mysensor_stream ....

    Thanks for considering


  • Admin

    @meanpenugin

    This will be changed. Thanks.


 

382
Online

7.5k
Users

8.4k
Topics

90.4k
Posts