[cfe-dev] -fcatch-undefined-behavior false positive with readdir()?
Sean McBride
sean at rogue-research.com
Thu Sep 27 12:10:35 PDT 2012
On Wed, 26 Sep 2012 18:31:34 -0400, Sean McBride said:
>>> So this is an OS X bug then? (I'm pretty sure my code snippet itself
>>is correct.)
>>
>>Yes, it appears so. (Not sure whether it's a bug in the header or a
>>bug in the implementation.)
>
>Ugh. I was in 10.7.5, just tried in 10.8.2 and seems someone has
>already fixed this.
I'm afraid I misspoke! I was using an older clang on 10.8. The bug is present in 10.7.5 and 10.8.2, and I've filed:
<rdar://problem/12388003>
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the cfe-dev
mailing list