Hi
I am trying to compile Kolban's FTP server written in C++ but the compiler is showing following error:
ftp_kolban/main/FTPCallbacks.cpp:16:34: error: exception handling disabled, use -fexceptions to enable
throw FTPServer::FileException();
I searched a lot but not found how to setup this -fexceptions flag in IDF under Eclipse.
Where can I place this flag in Eclipse?
Thanks,
Sergio
ESP32 IDF -fexceptions setup
Re: ESP32 IDF -fexceptions setup
You can enable C++ exceptions support using CONFIG_CXX_EXCEPTIONS option in menuconfig: https://docs.espressif.com/projects/esp ... exceptions
It adds -fexceptions flag and also enables run time support for exceptions.
It adds -fexceptions flag and also enables run time support for exceptions.
Who is online
Users browsing this forum: No registered users and 280 guests