Opened 17 years ago
Closed 17 years ago
#500 closed Bugs (Works For Me)
warning caused by size_t to unsigned int conversion on vc++8
Reported by: | nobody | Owned by: | Robert Ramey |
---|---|---|---|
Milestone: | Component: | serialization | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
This is in collections_save_imp.hpp, line 36: unsigned int count = s.size(); I get a warning under vc++8: c:\boost\include\boost-1_33\boost\serialization\collections_save_imp.hpp(36) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data I don't know if this is a foolish warning or not, or if changing to size_t would be detrimental to other platforms, but I thought I'd point it out just in case. bhiggins@gmail.com
Change History (2)
comment:2 by , 17 years ago
Status: | assigned → closed |
---|
Logged In: YES user_id=396141 THe warning can be ignored unless you plan to serialize a collection with more thatn 4G elements. currently number of elements is in a collection to be serialized is limited to to 4 G. This will be relaxed in a future release. Robert Ramey
Note:
See TracTickets
for help on using tickets.