Personally, I like this patch as it had the test following what is allowed by the standard, and enumerating those options explicitly rather than just comparing against the libc sprintf output. On Feb 19, 2012 1:40 AM, "Jeffrey Yasskin" <[email protected]> wrote:
> Another way to fix this would be to do the sprintf and compare against > that, or to use an explicit integer reinterpret_casted to void*, but > it doesn't seem too bad to add an extra option for glibc's output. > > Jeffrey > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
