Opened 12 years ago
Closed 12 years ago
#4212 closed Bugs (worksforme)
MSVC9.0: warning C4244 in regex_format.hpp(387) under 64-bit (x64)
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | regex |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | Cc: |
Description
boost_1_42_0\boost\regex\v4\regex_format.hpp(387) : warning C4244: 'initializing' : conversion from 'int64' to 'int', possible loss of data
This is a warning under x64 compilation, where sizeof(size_t) != sizeof(int)
int max_len = m_end - m_position;
Possibly max_len should be of type size_t or probably more stricty a typedef like
iterator_traits<Iterator>::difference_type
Similar warnings in other places: boost_1_42_0\boost\regex\v4\regex_format.hpp(450) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
Change History (1)
comment:1 by , 12 years ago
Milestone: | Boost 1.43.0 → Boost 1.44.0 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I believe this has already been addressed in Trunk - it just didn't quite make the 1.43 release.
Please reopen if not.
John.