Created attachment 561810 [details] [diff] [review]
With the landing of the bug #684526 I got the warning on every include of jsapi.h:
/home/igor/m/mc/js/src/jsapi.h: In destructor ‘JS::Anchor<T>::~Anchor() [with T = JS::Value]’:
/home/igor/m/mc/js/src/jsapi.h:800:21: warning: variable ‘bits’ set but not used [-Wunused-but-set-variable]
The attached patch fixes that by specializing Anchor destructor for Value only outside GCC.
Comment on attachment 561810 [details] [diff] [review]