Bug 13698 - small compilation problem in Win32 Unicode mode
Summary: small compilation problem in Win32 Unicode mode
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.5.4
Hardware: x86 (IA32) Windows (All)
: lowest minor
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-17 04:15 UTC by Pavel Vozenilek
Modified: 2008-01-08 07:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.