Skip to content

C++ exception handling build/compile errors. #231

Open
@HarrisonOfTheNorth

Description

@HarrisonOfTheNorth

Hello, I build from the bash and have cpp_utils in my components folder as instructed, when going make flash monitor it starts building but when it gets to HttpServer it throws as follows:

CXX build/cpp_utils/HttpServer.o
MyPath/components/cpp_utils/./HttpServer.cpp: In member function 'virtual void HttpServerTask::run(void*)':
MyPath/components/cpp_utils/./HttpServer.cpp:195:26 error: exception handling disabled, use -fexceptions to enable
    catch(std::exception &e) {
                          ^
make[1]: *** [HttpServer.o] Error 1
make: *** [component-cpp_utils-build] Error 2

Any suggestions?

Kind regards,

Anthony

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions