[pcre-dev] [Bug 2497] New: Visual Studio 2012 Compile Error

Pàgina inicial
Delete this message
Autor: admin
Data:  
A: pcre-dev
Assumptes nous: [pcre-dev] [Bug 2497] Visual Studio 2012 Compile Error
Assumpte: [pcre-dev] [Bug 2497] New: Visual Studio 2012 Compile Error
https://bugs.exim.org/show_bug.cgi?id=2497

            Bug ID: 2497
           Summary: Visual Studio 2012 Compile Error
           Product: PCRE
           Version: 10.33 (PCRE2)
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: aaroncook394@???
                CC: pcre-dev@???


I have been using PCRE2 fine under Visual Studio 2010, but when I upgraded to
Visual Studio 2012, I started getting compile errors related to stdint.h. From
pcre2.h, line 92, _MSC_VER < 1700 should be changed to _MSC_VER < 1800 in order
to use stdint.h instead of inttypes.h.

#if defined(_MSC_VER) && _MSC_VER < 1800
#include <stdint.h>
#else
#include <inttypes.h>
#endif

--
You are receiving this mail because:
You are on the CC list for the bug.