Warnings from MSVC build
Simon Richter <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm working on shipping Windows binaries of KiCad, which uses Cairo, built with the MSVC compiler. I see several compiler warnings that might be worth looking at, the full report is at http://ci.kicad-pcb.org/view/Windows/job/windows-cairo-msvc/lastSuccessfulBuild/warnings35Result/ There are three major categories: - "unexpected tokens following preprocessor directive - expected a newline" This smells like something really fishy is going on during preprocessing -- these happen in the pixman version comparison lines. - "This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library" These come from empty files. Are these still needed? - "'type cast': pointer truncation from 'void *' to 'unsigned long'" These smell wrong to me. On MSVC, "unsigned long" is 32 bits wide, so casting a 64 bit pointer to it is probably a bad idea. Should I investigate further, or did someone already do that? Simon -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo
signature.asc
(application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWuKmZAAoJEH69OHuwmQgRU6UH/0popge0MIy11h1PfyosgzGH /WaBUzHYTY3eP4WAfU6UxTW+XIn1VXpa4eSiK5dBhDHds6CxqkD5qOdIYcjaexEg UVg6VGawTsQ7L6zkTK0MfMXBDQ0ls4eLmA0/shd2oikgIbbNw5rwMgXBsKOKWfR0 Mk0W5t9UxhwDx2dDHIpv0q7XaZkOkOKSm0xdGIxjMpBxOAwMsogEqDKJu/t+uZhS xvzt2pggZkjx2aYSilWHmsQDI1sy6acwkqlf6xHxvKdsohHi7DXtpzL4IOM3iHp1 ukWd4sv5rgZyxlHycKSKneBocMCVpH2SL9765rRMKYnP/TX/YHSdNQVYDH4lvW8= =av6O -----END PGP SIGNATURE-----