I'm trying to make a C++ library to a node.js add-on.
Problem is on build time it errors like:
error: no member named 'runtime_error' in namespace
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
What I've done in some of my addons (e.g. sipster) was just add the flag instead of trying to negate it:
'cflags_cc': [ '-fexceptions' ],
That works for me with at least node v0.10.x.