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

Bill Spitzak <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAL-8oAj1=URvbnU7WjA-Lt4QjgP_48_YMVYN5r3gzE749v+7Gg@mail.gmail.com>
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 <[email protected]>
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
> [email protected]
> https://lists.cairographics.org/mailman/listinfo/cairo
>

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.