[cairo-bugs] [Bug 13698] New: small compilation problem in Win32 Unicode mode

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 17 04:15:52 PST 2007


http://bugs.freedesktop.org/show_bug.cgi?id=13698

           Summary: small compilation problem in Win32 Unicode mode
           Product: cairo
           Version: 1.5.4
          Platform: x86 (IA32)
        OS/Version: Windows (All)
            Status: NEW
          Severity: minor
          Priority: lowest
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: pavel_vozenilek at hotmail.com
         QAContact: cairo-bugs at cairographics.org


Compiling the library in Win32 Unicode mode (MSVC 2008, latest SDK) I get two
warnings:

>e:\_._\3pp\cairo-1.5.4\src\cairo-win32-surface.c(748) : warning C4133: 'function' : incompatible types - from 'char [8]' to 'LPCWSTR'

LoadLibrary("...") needs to be LoadLibraryA("...")


and 
>e:\_._\3pp\cairo-1.5.4\src\cairo-win32-surface.c(94) : warning C4133: 'function' : incompatible types - from 'LPTSTR' to 'LPSTR'

which is about FormatMessage(), the datatype from MSDN is incorrect under my
settings.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list