Compile time format string checker failing in g++ amd64 compilers.
RafaGago opened this issue · 2 comments
RafaGago commented
I don't remember exactly which compiler version is, it's the one bundled in Ubuntu 14.10 amd64.
holenaj commented
Hi Rafa,
I found a similar error using gcc 4.8.5 (the version bundled with CentOS 7). Not sure if it's the same cause as you're seeing in Ubuntu 14.10 amd64, but for me the fix was to change some 1s that were being left-shifted to 1UL, as per the attached diff.
Hope this is helpful, and thanks for the great library!
John
gdiff.txt
RafaGago commented
Good catch!
I pushed the fix to the master branch.
Thanks for reporting.