Opened 9 years ago
Last modified 9 years ago
#9893 new Patches
patch for Clang -Wtautological-constant-out-of-range-compare in property_tree/detail/json_parser_write.hpp
Reported by: | Owned by: | Sebastian Redl | |
---|---|---|---|
Milestone: | To Be Determined | Component: | property_tree |
Version: | Boost Release Branch | Severity: | Problem |
Keywords: | Cc: | tml@… |
Description
upstreaming patch from LibreOffice project, to fix compiler warnings
Attachments (3)
Change History (5)
by , 9 years ago
Attachment: | 0002-property_tree-fix-Clang-Wtautological-constant-out-o.patch added |
---|
by , 9 years ago
Attachment: | boost.dref-as-inttype.warnings.patch.1 added |
---|
comment:1 by , 9 years ago
by , 9 years ago
Attachment: | 0002-property_tree-fix-GCC-4.7.3-Wtype-limits-warning.patch added |
---|
patch that applies to git master
comment:2 by , 9 years ago
so Adam found that GCC 4.7.3 with optimization enabled is too smart to be fooled by the cast in the first patch and still issues a warning about the comparison with 0xFF - the new patch should fix that.
Note:
See TracTickets
for help on using tickets.
The patch "boost.dref-as-inttype.warnings.patch.1" should replace the patch "0002-property_tree-fix-Clang-Wtautological-constant-out-o.patch"