Xtensa compiler considering the ".h" file as C header file?
Posted: Tue May 21, 2019 9:13 am
HI,
i am working on porting some proj into esp-idf environment where C++ class and namespaces are declared in ".h" file instead of ".hpp",
xtensa-32 compiler throws error saying that could not find "namespace" and could not find "class" error.
i could not see any option to force the compiler to cosider it as C++ header file during compilation.
regards
jotman01
i am working on porting some proj into esp-idf environment where C++ class and namespaces are declared in ".h" file instead of ".hpp",
xtensa-32 compiler throws error saying that could not find "namespace" and could not find "class" error.
i could not see any option to force the compiler to cosider it as C++ header file during compilation.
regards
jotman01