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.
Files at revision 0:7c2be109ea78
Name | Size | Actions |
---|---|---|
[up] | ||
foldertest1 | ||
foldertest2 | ||
.gitignore | 32 | Revisions Annotate |
main.cpp | 181 | Revisions Annotate |
mbed-os.lib | 77 | Revisions Annotate |