energia / msp430-lg-core

15 stars 12 forks source link

C99 compilation options #40

Open ahmed9207 opened 7 years ago

ahmed9207 commented 7 years ago

Hi,

i'm trying to use a LoraWan library (Lmic) on MSP430F5529LP, i got it to work on arduino uno without any problems, how ever on the MSP430F5529LP i'm getting some errors like:

code:67: error: expected primary-expression before '.' token

after some research i found out that the library requiers Arduino IDE version 1.6.6 or above, since it requires C99 mode to be enabled by defau, t so is it possible to enbale the C99 mode in compilation options,if so , how can i do it?

Thanks

robertinant commented 6 years ago

The current compiler does not support C++11. This will be available in the next release of the compiler but won't be available until much later this year.