warning C4244: 'argument' : conversion from 'UChar' to 'unsigned char', possible loss of data

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
8 years ago
7 years ago

People

(Reporter: RyanVM, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
x86
Windows 7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [build_warning])

(Reporter)

Description

8 years ago
mozilla-central\js\src\yarr\pcre\pcre_internal.h(389) : warning C4244: 'argument' : conversion from 'UChar' to 'unsigned char', possible loss of data
mozilla-central\js\src\yarr\pcre\pcre_internal.h(394) : warning C4244: 'argument' : conversion from 'UChar' to 'unsigned char', possible loss of data
I get the above and also

d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(97) : warning C4244: 'initializing' : conversion from 'UChar' to 'char', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(98) : warning C4244: 'initializing' : conversion from 'UChar' to 'char', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(110) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(121) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(122) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(124) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(124) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(127) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(128) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(130) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexCompiler.cpp(130) : warning C4244: 'argument' : conversion from 'uint32' to 'UChar', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexJIT.cpp(119) : warning C4244: 'initializing' : conversion from 'const UChar' to 'char', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexJIT.cpp(120) : warning C4244: 'initializing' : conversion from 'const UChar' to 'char', possible loss of data
d:/dev/tracemonkey/js/src/yarr/yarr/RegexJIT.cpp(207) : warning C4244: 'initializing' : conversion from 'const UChar' to 'char', possible loss of data
So, what's the deal with yarr? If I have a fix for these, should I try to land it upstream, or what? (Might they already be fixed?)

Updated

7 years ago
Blocks: 187528
(Reporter)

Comment 3

7 years ago
Long gone.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.