Bug 13698

Summary: small compilation problem in Win32 Unicode mode
Product: cairo Reporter: Pavel Vozenilek <pavel_vozenilek>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: minor    
Priority: lowest    
Version: 1.5.4   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description Pavel Vozenilek 2007-12-17 04:15:32 UTC
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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.