This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

help for this warning: <command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

Other Parts Discussed in Thread: CC3200, ENERGIA

When I run any code with Energia on my board CC3200, or even if I simply verifiy, i have this type of answer. The sketch seems to work well, but I don't understand why I have this messages...




<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

C:\Users\Valerio\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200\Stream.cpp: In member function 'bool Stream::find(char*)':

C:\Users\Valerio\AppData\Local\Energia15\packages\energia\hardware\cc3200\1.0.2\cores\cc3200\Stream.cpp:78:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   return findUntil(target, "");

                              ^

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]

<command-line>:0:15: warning: ISO C99 requires whitespace after the macro name [enabled by default]


Lo sketch usa 2.064 byte (0%) dello spazio disponibile per i programmi. Il massimo è 262.144 byte.

  • Hi Valerio,

    I recommend checking the syntax used for all of your macro definitions. You should be able to get a good idea of what could cause Energia to throw the warning by searching for more info on "ISO C99 requires whitespace after the macro name."

    Best Regards,
    Ben