<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>that's acceptable. i'll set that on the command line. thanks.</div><div>++ kirk</div><br><div><div>On 2011-Feb-2, at 6:39 PM, ext Stephen Wilson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><<a href="mailto:kirk.beitz@nokia.com">kirk.beitz@nokia.com</a>> writes:<br><blockquote type="cite">hello lldb developers ++<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">i like to reduce warnings where possible so that when they do appear, they are meaningful.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">in compiling lldb for windows, there are a lot of warnings about #pragma mark, which is not recognized by gcc 4.2.5 for mingw.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">i know in the past, for cross-platform work, the habit was to wrap these something like:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">#if defined(__APPLE__)<br></blockquote><blockquote type="cite">#pragma mark<br></blockquote><blockquote type="cite">#endif<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">or even further<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">#ifdef USES_PRAGMA_MARK<br></blockquote><blockquote type="cite">#pragma mark<br></blockquote><blockquote type="cite">#endif<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">which, of course, means #defining pragma mark on the (virtual) command line or in a precompiled header for the project.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">i don't care how exactly we do this, but i would like to have something to silence the slew of warnings when not compiling under xcode.<br></blockquote><br>In the makefiles we use -Wno-unknown-pragmas for the express purpose of<br>silencing warnings about #pragma mark.<br><br><br>--<br>steve<br></div></blockquote></div><br><div>
<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-align: 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; "><div style="font-size: 11px; "><font class="Apple-style-span" face="Monaco"><span class="Apple-style-span" style="font-family: Helvetica; "><font class="Apple-style-span" face="Monaco"><br class="Apple-interchange-newline">++ kirk beitz : nokia : austin + san diego </font><span class="Apple-style-span" style="font-family: Monaco; ">: <a href="mailto:kirk.beitz@nokia.com">kirk.beitz@nokia.com</a> ++</span></span></font></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>