title: Stop make from treating warnings as errors
body: <p>I'm trying to <code>make</code> the little proxy server <a href="https://github.com/dccmx/tcproxy" rel="nofollow"><code>tcproxy</code></a>:
  </p>
  
  <pre class="lang-none prettyprint-override"><code>user@localhost:tcproxy $ make
  cd src &amp;&amp; make all
  make[1]: Entering directory '/home/user/Downloads/tcproxy/src'
      CC anet.o
  In file included from /usr/include/sys/types.h:25:0,
                   from anet.c:33:
  /usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
   # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
     ^
  cc1: all warnings being treated as errors
  Makefile:26: recipe for target 'anet.o' failed
  make[1]: *** [anet.o] Error 1
  make[1]: Leaving directory '/home/user/Downloads/tcproxy/src'
  Makefile:10: recipe for target 'all' failed
  make: *** [all] Error 2
  </code></pre>
  
  <p>Compilation is failing because <code>all warnings are being treated as errors</code></p>
  
  <p>It hasn't been updated in two years and it appears the warning is just from something being deprecated, but I'm hoping it should work nonetheless.</p>
  
  <p>I've Googled how to stop all warnings being treated as errors; someone suggests using <code>-Wno-error</code> but that made no difference in my case.</p>
  
  <p>How can I force the compilation here?</p>
  
  <p><strong><em>Note</em></strong> </p>
  
  <p>The <code>Makefile</code> simply contains:</p>
  
  <pre class="lang-none prettyprint-override"><code>#
  # tcproxy - Makefile
  #
  # Author: dccmx &lt;dccmx@dccmx.com&gt;
  #
  
  default: all
  
  .DEFAULT:
      cd src &amp;&amp; $(MAKE) $@
  </code></pre>