![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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/foldertest1/foldertest1.h@0:7c2be109ea78, 2016-09-27 (annotated)
- 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?
User | Revision | Line number | New 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 |