Test case warning fixes for nodejs

nodejs 4.2.1 on Ubuntu Xenial Xerus
This commit is contained in:
William S Fulton 2016-07-30 21:23:57 +01:00
commit 56ab717ff3
7 changed files with 61 additions and 0 deletions

View file

@ -12,6 +12,12 @@
%inline %{
#if __GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
/* for anonymous enums */
/* dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] */
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif
typedef enum {
CSP_ITERATION_FWD,
CSP_ITERATION_BWD = 11