Important changes to forums

We’re making some changes to the Mbed forums. From 10th December 2019 all new discussions will take place on our new forum site. You can continue to reply to existing threads for the next two weeks. After that we will archive this forum so you can return to useful posts in the future.

E20, Identifier is undefined

13 Jul 2011


13 Jul 2011

I tried to reproduce your problem with the code you pointed to above and the only warnings/errors I got related to not finding printf() because #include "mbed.h" was missing and the fact that the method was supposed to return a char* but had no return statement.

My version can be found here:

Edit: Removed program that is no longer published.

13 Jul 2011

    printf( "%d\n", sizeof( sS ) );

First up, sS is a private. Try:-

    printf( "%d\n", sizeof( someStruct ) );

Edit: Think sizeof( int ) where int is a type.

someStruct is a type whereas sS is just an instance of that type.


13 Jul 2011

You need to log in to post a reply