<div dir="ltr">Hello everyone,<br><br>I&#39;m compiling Freeswitch (both 1.6 and git HEAD as of this email timestamp) and I require a JavaScript interpreter. When the build process hits mod_v8 I get the following error[1]. System info: OS X 10.11.1 (El Capitan), homebrew updated as of this morning, current stable Xcode, all default ./configure options. One thing I noticed is the build system ignores my environment if I export CFLAGS=&quot;-Wno-errors&quot; and CXXFLAGS=&quot;-Wno-errors&quot;. Warnings are always handled as errors because -Werror is always appended to the compiler flags.<div><br></div><div>Thanks,</div><div>Lee<br><br>[1]<br>making all mod_v8<br><br>cd /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 &amp;&amp; (test -f .stamp-patch || patch -t -p0 &lt; /Users/lazzarello/src/freeswitch/src/mod/languages/mod_v8/v8-build.patch)<br><br>patching file Makefile<br><br>touch /Users/lazzarello/src/freeswitch/libs/v8-3.24.14/.stamp-patch<br><br>mkdir -p /Users/lazzarello/src/freeswitch/libs/v8-3.24.14<br><br>if test &quot;x86_64&quot; = &quot;x86_64&quot;; then \<br><br>  defines=&quot;v8_target_arch=x64 target_arch=x64&quot;; \<br><br>else \<br><br>  if test &quot;x86_64&quot; = &quot;arm&quot;; then \<br><br>      defines=&quot;v8_target_arch=arm target_arch=arm&quot;; \<br><br>  else \<br><br>      if test &quot;x36_64&quot; = &quot;i386&quot;; then \<br><br>        defines=&quot;v8_target_arch=ia32 target_arch=ia32&quot;; \<br><br>      fi; \<br><br>  fi; \<br><br>fi; \<br><br>cd /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 &amp;&amp; CFLAGS=&quot;&quot; CXXFLAGS=&quot;&quot; \<br><br>LINK=g++ CXX=g++ GYPFLAGS=&quot;&quot; GYP_DEFINES=&quot;$defines&quot; \<br><br>OUTDIR=/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out \<br><br>PYTHONPATH=&quot;/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/build/gyp/pylib:&quot; /Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/lazzarello/src/freeswitch/libs/v8-3.24.14 snapshot=off i18nsupport=off library=shared native<br><br>PYTHONPATH=&quot;/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/tools/generate_shim_headers:/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/build/gyp/pylib:&quot; \<br><br>GYP_GENERATORS=make \<br><br>build/gyp/gyp --generator-output=&quot;/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out&quot; build/all.gyp \<br><br>              -Ibuild/standalone.gypi --depth=. -S.native  -Dcomponent=shared_library -Dv8_enable_backtrace=1 -Dv8_use_snapshot=&#39;false&#39; -Dv8_enable_i18n_support=0 -Darm_fpu=default -Darm_float_abi=default<br><br>  CXX(target) /Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/obj.target/v8_base.x64/src/accessors.o<br><br>In file included from ../src/accessors.cc:28:<br><br>In file included from ../src/v8.h:62:<br><br>In file included from ../src/objects-inl.h:38:<br><br>In file included from ../src/elements.h:33:<br><br>In file included from ../src/heap.h:36:<br><br>In file included from ../src/incremental-marking.h:33:<br><br>In file included from ../src/mark-compact.h:32:<br><br>../src/spaces.h:925:26: error: &#39;this&#39; pointer cannot be null in well-defined C++ code; comparison may be<br><br>      assumed to always evaluate to true [-Werror,-Wtautological-undefined-compare]<br><br>  bool exists() { return this != NULL &amp;&amp; code_range_ != NULL; }<br><br>                         ^~~~    ~~~~<br><br>../src/spaces.h:927:9: error: &#39;this&#39; pointer cannot be null in well-defined C++ code; comparison may be<br><br>      assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]<br><br>    if (this == NULL || code_range_ == NULL) return NULL;<br><br>        ^~~~    ~~~~<br><br>../src/spaces.h:931:9: error: &#39;this&#39; pointer cannot be null in well-defined C++ code; comparison may be<br><br>      assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]<br><br>    if (this == NULL || code_range_ == NULL) return false;<br><br>        ^~~~    ~~~~<br><br>3 errors generated.<br><br>make[5]: *** [/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/obj.target/v8_base.x64/src/accessors.o] Error 1<br><br>make[4]: *** [native] Error 2<br><br>make[3]: *** [/Users/lazzarello/src/freeswitch/libs/v8-3.24.14/out/native/libv8.dylib] Error 2<br><br>make[2]: *** [mod_v8-all] Error 1<br><br>make[1]: *** [mod_v8] Error 2<br><br>make: *** [mod_v8] Error 2<br><div><br></div><div><br></div></div></div>