<div dir="ltr">(Resync with mailing list)<div><br></div><div><span style="font-size:12.8px">Thanks!</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">It comes through as an error rather than a warning though, so we can't simply ignore / disable it.</div></div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p dir="ltr">--<br> Joshua Gerrard<br> JUCE Software Developer<br></p><p dir="ltr"><font size="2"><i>ROLI’s </i><a href="http://www.telegraph.co.uk/luxury/design/31520/the-seaboard-grand-piano-wins-designs-of-the-year-2014-award.html" target="_blank"><i><font color="#1155cc">award-winning</font></i></a><i> Seaboard GRAND, celebrated as the “</i><a href="http://edition.cnn.com/2013/09/27/tech/innovation/hans-zimmer-seaboard-future-piano/" target="_blank"><i><font color="#1155cc">piano of the future</font></i></a><i>”, is now joined by the </i><a href="https://www.youtube.com/watch?v=fGr7VbDiRNw" target="_blank"><i><font color="#1155cc">Seaboard RISE</font></i></a><i>, “</i><a href="http://www.soundonsound.com/news?NewsID=18726" target="_blank"><i><font color="#1155cc">every bit as slimline and attractive as its bigger brother</font></i></a><i>”. The press is hailing the Seaboard RISE as “</i><a href="http://www.wired.co.uk/news/archive/2015-09/10/seaboard-rise-digital-keyboard-launch-uk-price" target="_blank"><i><font color="#1155cc">innovative</font></i></a><i>”, “</i><a href="http://createdigitalmusic.com/2015/09/new-roli-instrument-wants-make-expressive-control-mainstream/" target="_blank"><i><font color="#1155cc">expressive</font></i></a><i>”, “</i><a href="http://createdigitalmusic.com/2015/09/new-roli-instrument-wants-make-expressive-control-mainstream/" target="_blank"><i><font color="#1155cc">accessible</font></i></a><i>”, and “</i><a href="http://www.slashgear.com/roli-seaboard-rise-is-like-3d-touch-for-musicians-11404216/" target="_blank"><i><font color="#1155cc">a keyboard controller that does to piano keys what 3D touch does to the iPhone</font></i></a><i>”. Now available for preorder at </i><a href="http://www.roli.com/" target="_blank"><i><font color="#1155cc">www.roli.com</font></i></a><i>.</i></font><br><br></p></div></div></div></div></div></div></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div><div class="h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><span><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p dir="ltr"><br></p></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div><div class="gmail_quote">On 28 November 2015 at 17:54, Robinson, Paul <span dir="ltr"><<a href="mailto:Paul_Robinson@playstation.sony.com" target="_blank">Paul_Robinson@playstation.sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The diagnostic probably said [-Wc++11-narrowing] so try –Wno-c++11-narrowing. Better to get the header fixed, though:<u></u><u></u></span></p><span>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">|
</span> kSecCSConsiderExpiration = 1 << 31, /* consider expired certificates invalid */<br>
<br>
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
</span><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">A bug in the header, which you could report to Apple. That should be '1u << 31' given that the base type is uint32_t.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">--paulr<u></u><u></u></span></p>
<p class="MsoNormal"><a name="151581b99741f9f7_151581b5e328a51f_1514f3b9bdebae1e__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></a></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> cfe-dev [mailto:<a href="mailto:cfe-dev-bounces@lists.llvm.org" target="_blank">cfe-dev-bounces@lists.llvm.org</a>]
<b>On Behalf Of </b>Joshua Gerrard via cfe-dev<br>
<b>Sent:</b> Thursday, November 26, 2015 6:02 AM<br>
<b>To:</b> Anton Smirnov via cfe-dev<br>
<b>Subject:</b> [cfe-dev] CSCommon.h fails to compile (Mac OS X 10.11)<u></u><u></u></span></p>
</div>
</div><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hello folks,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm working on a project that uses clang and it seems that I cannot compile the CSCommon.h header inside the Apple SDKs. The error I get is:<u></u><u></u></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p><span style="font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black">enumerator value evaluates to -<a href="tel:2147483648" value="+12147483648" target="_blank">2147483648</a>, which cannot be narrowed to type uint32_t (aka unsingned int)</span><u></u><u></u></p>
<p><span style="font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black">Around the source code:</span><u></u><u></u></p>
<p class="MsoNormal">typedef CF_OPTIONS(uint32_t, SecCSFlags) {<br>
kSecCSDefaultFlags = 0, /* no particular flags (default behavior) */<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
kSecCSConsiderExpiration = 1 << 31, /* consider expired certificates invalid */<br>
kSecCSEnforceRevocationChecks = 1 << 30, /* force revocation checks regardless of preference settings */<br>
kSecCSNoNetworkAccess = 1 << 29, /* do not use the network, cancels "kSecCSEnforceRevocationChecks" */<br>
kSecCSReportProgress = 1 << 28, /* make progress report call-backs when configured */<br>
kSecCSCheckTrustedAnchors = 1 << 27, /* build certificate chain to system trust anchors, not to any self-signed certificate */<br>
};<u></u><u></u></p>
<p><span style="font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black">clang revision 253884</span><u></u><u></u></p>
<p><span style="font-size:10.5pt;font-family:"Helvetica","sans-serif";color:black">Previously, we just hacked around this with:</span><u></u><u></u></p>
<p>#undef CF_OPTIONS<br>
#define CF_OPTIONS(_type, _name) _type _name; enum<u></u><u></u></p>
<p>But alas some of our users are still reporting the error.<u></u><u></u></p>
<p>Has anyone encountered this before? Is there a specific LangOpt I need to set?<u></u><u></u></p>
<p>Many thanks in advance.<u></u><u></u></p>
<p>--<u></u><u></u></p>
<p>Joshua Gerrard<br>
JUCE Software Developer<u></u><u></u></p>
<p style="margin-bottom:12.0pt"><i><span style="font-size:10.0pt">ROLI’s </span></i><span style="font-size:10.0pt"><a href="http://www.telegraph.co.uk/luxury/design/31520/the-seaboard-grand-piano-wins-designs-of-the-year-2014-award.html" target="_blank"><i><span style="color:#1155cc">award-winning</span></i></a><i> Seaboard
GRAND, celebrated as the “</i><a href="http://edition.cnn.com/2013/09/27/tech/innovation/hans-zimmer-seaboard-future-piano/" target="_blank"><i><span style="color:#1155cc">piano of the future</span></i></a><i>”, is now joined by the </i><a href="https://www.youtube.com/watch?v=fGr7VbDiRNw" target="_blank"><i><span style="color:#1155cc">Seaboard
RISE</span></i></a><i>, “</i><a href="http://www.soundonsound.com/news?NewsID=18726" target="_blank"><i><span style="color:#1155cc">every bit as slimline and attractive as its bigger brother</span></i></a><i>”. The press is hailing the Seaboard RISE as “</i><a href="http://www.wired.co.uk/news/archive/2015-09/10/seaboard-rise-digital-keyboard-launch-uk-price" target="_blank"><i><span style="color:#1155cc">innovative</span></i></a><i>”,
“</i><a href="http://createdigitalmusic.com/2015/09/new-roli-instrument-wants-make-expressive-control-mainstream/" target="_blank"><i><span style="color:#1155cc">expressive</span></i></a><i>”, “</i><a href="http://createdigitalmusic.com/2015/09/new-roli-instrument-wants-make-expressive-control-mainstream/" target="_blank"><i><span style="color:#1155cc">accessible</span></i></a><i>”,
and “</i><a href="http://www.slashgear.com/roli-seaboard-rise-is-like-3d-touch-for-musicians-11404216/" target="_blank"><i><span style="color:#1155cc">a keyboard controller that does to piano keys what 3D touch does to the iPhone</span></i></a><i>”. Now available
for preorder at </i><a href="http://www.roli.com/" target="_blank"><i><span style="color:#1155cc">www.roli.com</span></i></a><i>.</i></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>