I don't receive this error when trying to reproduce the exact same scenario. Looks like there is a '}' missing in wiced.h from the error log in your case. Please replace the wiced.h with the attached one and the error should go away.
wiced.h.zip 1.4 K
2 of 2 people found this helpful
I successfully use wiced in a c++11 project. However, out of the box I ran into compilation issues as well.
One header file has an unbalanced extern "C" block. Try to fix that first and compile again.
I also had to make some changes to the file
among others added a -std=c++11 -Wno-literal-suffix
COMPILER_SPECIFIC_STANDARD_CXXFLAGS = -Wall -fsigned-char -ffunction-sections -fdata-sections -fno-common -fno-rtti -fno-exceptions -fdiagnostics-color -std=c++11 -Wno-literal-suffix $(if $(filter yes,$(CYPRESS_INTERNAL) $(TESTER)),-Werror)
Please see the attached files
1 of 1 people found this helpful
Thanks a lot for your valued suggestions. One more thing I wanted to add which might look obvious: If you are trying to run
int run_test(int argc, char **argv) for a .cpp file, replace the same thing with extern "C" int run_test(int argc, char **argv) for successfully compiling a .cpp code.