Skip to content

Compiler warnings: js_request.cpp & js_rtpool.cpp

Getting these warning during compilation of latest code:

Compiling js_request.cpp In file included from js_request.cpp:13: /opt/sbbs/repo/src/sbbs3/../../3rdp/gcc.linux.x64.release/mozjs/include/js/jsapi.h:1381:39: warning: ignoring attributes on template argument ‘jsval’ {aka ‘long unsigned int’} [-Wignored-attributes] template<> class AnchorPermitted { }; ^ Compiling js_rtpool.cpp In file included from js_rtpool.h:12, from js_rtpool.cpp:5: /opt/sbbs/repo/src/sbbs3/../../3rdp/gcc.linux.x64.release/mozjs/include/js/jsapi.h:1381:39: warning: ignoring attributes on template argument ‘jsval’ {aka ‘long unsigned int’} [-Wignored-attributes] template<> class AnchorPermitted { }; ^