<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Oct 24, 2011, at 2:53 PM, Brent Eagles wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: Verdana; font-size: 13px; ">Disabling -Werror on slice2cpp generated code seems to be a reasonable solution and should work as long as the code that is producing the warnings is not defined in a header file and inlined (and not actually broken, of course).</span></span><br class="Apple-interchange-newline"></blockquote></div><br><div>Actually, slice-generated headers are included on -isystem[1] paths, which suppress warnings.</div><div><br></div><div>Since we're already suppressing warnings in headers, that's all the more reason to suppress warnings in the .cpp files as well :-)</div><div><br></div><div>&nbsp; [1]:&nbsp;<a href="http://gcc.gnu.org/onlinedocs/cpp/System-Headers.html">http://gcc.gnu.org/onlinedocs/cpp/System-Headers.html</a></div><div><br></div><div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--&nbsp;</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">David M. Lee<br>Digium, Inc. | Software Developer<br>445 Jan Davis Drive NW - Huntsville, AL&nbsp;35806 - USA<br>Check us out at: &nbsp;<a href="http://www.digium.com">www.digium.com</a> &nbsp;&amp;&nbsp;<a href="http://www.asterisk.org">www.asterisk.org</a><br><br></div></span></div></div></div></body></html>