Solved error: cannot use 'throw' with exceptions disabled throw error_t (); ^
-
Hi,
I try to use zeromq with my qt project. linked like:
LIBS +=-L/usr/local/lib/ -lzmq
INCLUDEPATH +=/usr/local/includeBut it gives error :
/usr/local/include/zmq.hpp:152:13: error: cannot use 'throw' with exceptions disabled throw error_t (); ^
I added to the pro file :
CONFIG-=exceptions
Still same problem.
Any idea _
-
@RahibeMeryem said in error: cannot use 'throw' with exceptions disabled throw error_t (); ^:
CONFIG-=exceptions
Apparently it has to be
CONFIG+=exceptions
if you want to use exceptions...