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.

Committer:
MikkoZ
Date:
Tue Sep 27 07:13:58 2016 +0000
Revision:
0:7c2be109ea78
Example app of build problem. Initial version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MikkoZ 0:7c2be109ea78 1 #ifndef FOLDERTEST1_H
MikkoZ 0:7c2be109ea78 2 #define FOLDERTEST1_H
MikkoZ 0:7c2be109ea78 3
MikkoZ 0:7c2be109ea78 4 #include "mbed.h"
MikkoZ 0:7c2be109ea78 5
MikkoZ 0:7c2be109ea78 6 #endif