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.
Diff: foldertest1/source/foldertest1.c
- Revision:
- 0:7c2be109ea78
diff -r 000000000000 -r 7c2be109ea78 foldertest1/source/foldertest1.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/foldertest1/source/foldertest1.c Tue Sep 27 07:13:58 2016 +0000 @@ -0,0 +1,2 @@ +#define this_file_doesnt_include_foldertest1_nor_mbed_h 0 +