Re: newlib master vs current newlib snapshot

2016-03-22 Thread Sebastian Huber
On 22/03/16 18:43, Joel Sherrill wrote: To fix a warning for strptime(), I had to define _XOPEN_SOURCE which in turn disabled the BSD timebin. So I had to add _BSD_SOURCE. With these in place, the file compiles with the newlib master but not the snapshot. In the long run we should not expose

Re: newlib master vs current newlib snapshot

2016-03-22 Thread Joel Sherrill
On Tue, Mar 22, 2016 at 12:50 PM, Gedare Bloom wrote: > Hiccup. > > That's what I am expecting. I will not include my fix in the warning patch series. Better to be a warning on new tools for a while than a hard failure. :( > On Tue, Mar 22, 2016 at 1:43 PM, Joel Sherrill wrote: > > Hi > > > >

Re: newlib master vs current newlib snapshot

2016-03-22 Thread Gedare Bloom
Hiccup. On Tue, Mar 22, 2016 at 1:43 PM, Joel Sherrill wrote: > Hi > > When compiling at least main_date.c, there are no issues when compiled > when the current toolset. However, the newlib master reworks the > feature flags. > > To fix a warning for strptime(), I had to define _XOPEN_SOURCE whic

newlib master vs current newlib snapshot

2016-03-22 Thread Joel Sherrill
Hi When compiling at least main_date.c, there are no issues when compiled when the current toolset. However, the newlib master reworks the feature flags. To fix a warning for strptime(), I had to define _XOPEN_SOURCE which in turn disabled the BSD timebin. So I had to add _BSD_SOURCE. With these