<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 22, 2016 at 12:50 PM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hiccup.<br>
<div><div class="h5"><br></div></div></blockquote><div><br></div><div>That's what I am expecting. I will not include my fix in the warning patch series.</div><div>Better to be a warning on new tools for a while than a hard failure. :(</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
On Tue, Mar 22, 2016 at 1:43 PM, Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br>
> Hi<br>
><br>
> When compiling at least main_date.c, there are no issues when compiled<br>
> when the current toolset. However, the newlib master reworks the<br>
> feature flags.<br>
><br>
> To fix a warning for strptime(), I had to define _XOPEN_SOURCE which<br>
> in turn disabled the BSD timebin. So I had to add _BSD_SOURCE. With<br>
> these in place, the file compiles with the newlib master but not the<br>
> snapshot.<br>
><br>
> #define _XOPEN_SOURCE<br>
> #define _BSD_SOURCE<br>
><br>
> As a hack, I also added this<br>
><br>
> #define __BSD_VISIBLE 1<br>
><br>
> and it will compile against the current tools and the master but the<br>
> "VISIBLE"<br>
> flags are not supposed to be defined<br>
><br>
> Any suggestions on how to address this cleanly or are we looking at<br>
> a tool hiccup on the next newlib change?<br>
><br>
> --joel<br>
><br>
</div></div>> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div><br></div></div>