[cairo] [PATCH 0/4] RFC: Stop MSVC and MSYS from complaining

Bill Spitzak spitzak at gmail.com
Thu Feb 11 19:09:02 UTC 2016


Can you get HAVE_STDINT_H defined if _MSC_VER >= 1600 so there is not a
duplicate include everywhere.



On Wed, Feb 10, 2016 at 6:36 PM, Adrian Johnson <ajohnson at redneon.com>
wrote:

> On 11/02/16 07:19, Simon Richter wrote:
> >  - It uses a signed type where the original type was unsigned.
> "uintptr_t"
> >    also exists in the standard, but MSVC does not define it.
>
> uintptr_t is listed here:
>
> https://msdn.microsoft.com/en-us/library/323b6b3k%28v=vs.100%29.aspx
>
> If older versions do not define it we can define it ourselves in
> cairo-wideint-type-private.h. We should also fix this file to use
> stdint.h on the newer versions of MSVC that support it instead of
> defining the fixed size types.
>
> Untested patch attached.
>
>
> --
> cairo mailing list
> cairo at cairographics.org
> https://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20160211/1c45ece6/attachment.html>


More information about the cairo mailing list