[pcre-dev] [Bug 1869] New: x64 Compiler warnings introduced …

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 1869] x64 Compiler warnings introduced in 10.22
Subject: [pcre-dev] [Bug 1869] New: x64 Compiler warnings introduced in 10.22
https://bugs.exim.org/show_bug.cgi?id=1869

            Bug ID: 1869
           Summary: x64 Compiler warnings introduced in 10.22
           Product: PCRE
           Version: 10.22 (PCRE2)
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: david.gausmann@???
                CC: pcre-dev@???


Hello Philip,

in bug 1795 you said that I shall inform you the next time I get some compiler
warnings.
Here they are (10.22; I am compiling with pcre2-16 with x64; some errors also
appear on x86, because they depend on the 16-bit charset):

2> pcre2_compile.c
2>D:\Projekte\pcre2-10.22\src\pcre2_compile.c(819): warning C4244: "=":
Konvertierung von "__int64" in "PCRE2_UCHAR16", möglicher Datenverlust
2>D:\Projekte\pcre2-10.22\src\pcre2_compile.c(848): warning C4267: "=":
Konvertierung von "size_t" nach "PCRE2_UCHAR16", Datenverlust möglich
2>D:\Projekte\pcre2-10.22\src\pcre2_compile.c(7810): warning C4267: "=":
Konvertierung von "size_t" nach "PCRE2_UCHAR16", Datenverlust möglich
2>D:\Projekte\pcre2-10.22\src\pcre2_compile.c(8853): warning C4244: "=":
Konvertierung von "__int64" in "PCRE2_UCHAR16", möglicher Datenverlust

2> pcre2_match.c
2>D:\Projekte\pcre2-10.22\src\pcre2_match.c(1322): warning C4267: "=":
Konvertierung von "size_t" nach "uint32_t", Datenverlust möglich
2>D:\Projekte\pcre2-10.22\src\pcre2_match.c(1749): warning C4267: "=":
Konvertierung von "size_t" nach "uint32_t", Datenverlust möglich
2>D:\Projekte\pcre2-10.22\src\pcre2_match.c(7165): warning C4267: "=":
Konvertierung von "size_t" nach "int", Datenverlust möglich


Kind Regards
David Gausmann

--
You are receiving this mail because:
You are on the CC list for the bug.