Application to showcase build problem when including mbed.h from .cpp and .c -files. Folder structure and nested #includes inside #ifndefX+#defineX+#endif obfuscate the reason. Compiler error is about 'keyword namespace not found', which happens when mbed.h is included from .c.

foldertest1/source/foldertest1.c

Committer:
MikkoZ
Date:
2016-09-27
Revision:
0:7c2be109ea78

File content as of revision 0:7c2be109ea78:

#define this_file_doesnt_include_foldertest1_nor_mbed_h 0