Skip Menu |

This queue is for tickets about the Time-Piece CPAN distribution.

Report information
The Basics
Id: 124484
Status: resolved
Priority: 0/
Queue: Time-Piece

People
Owner: Nobody in particular
Requestors: RANDIR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.3204



Subject: VS2017 compilation warnings
While building this module under 64-bit version of MS VS2017, I get the following build warnings: Piece.xs(565): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Piece.xs(576): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Piece.xs(593): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Piece.xs(599): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Piece.xs(693): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Piece.xs(701): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Piece.xs(707): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Piece.xs(924): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(925): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(926): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(935): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(936): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(943): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(944): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(945): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(946): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(997): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data Piece.xs(990): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data Piece.xs(1148): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(1149): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(1150): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(1151): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(1152): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(1155): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data Piece.xs(1158): warning C4267: 'function': conversion from 'size_t' to 'I32', possible loss of data
RT-Send-CC: RANDIR [...] cpan.org
On Mon Feb 19 18:19:02 2018, RANDIR wrote: Show quoted text
> While building this module under 64-bit version of MS VS2017, I get > the following build warnings: > > Piece.xs(565): warning C4267: '=': conversion from 'size_t' to 'int', > possible loss of data > Piece.xs(576): warning C4267: '=': conversion from 'size_t' to 'int', > possible loss of data > Piece.xs(593): warning C4267: '=': conversion from 'size_t' to 'int', > possible loss of data > Piece.xs(599): warning C4267: '=': conversion from 'size_t' to 'int', > possible loss of data > Piece.xs(693): warning C4267: '=': conversion from 'size_t' to 'int', > possible loss of data > Piece.xs(701): warning C4267: '=': conversion from 'size_t' to 'int', > possible loss of data > Piece.xs(707): warning C4267: '=': conversion from 'size_t' to 'int', > possible loss of data > Piece.xs(924): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(925): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(926): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(935): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(936): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(943): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(944): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(945): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(946): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(997): warning C4267: '=': conversion from 'size_t' to 'int', > possible loss of data > Piece.xs(990): warning C4267: 'initializing': conversion from 'size_t' > to 'int', possible loss of data > Piece.xs(1148): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(1149): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(1150): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(1151): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(1152): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(1155): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data > Piece.xs(1158): warning C4267: 'function': conversion from 'size_t' to > 'I32', possible loss of data
Give 1.3204 a try. I think I got them all... Thanks, Samuel Smith
On Tue Feb 20 12:17:09 2018, ESAYM wrote: Show quoted text
> Give 1.3204 a try. I think I got them all...
Now it's warnings-free, thanks.