https://bugs.exim.org/show_bug.cgi?id=1801

--- Comment #6 from Roy Ivy III <roy.ivy....@gmail.com> ---
I wanted to add that using "snprintf()" blocks compilation for MSVC compilers
older than MSVC 14/2015 (cl 19.00). If you add:

```
#if defined(_MSC_VER) && (_MSC_VER < 1900)
#define snprintf _snprintf
#endif
```

to either "pcre2posix.c", "pcre2posix.h", or "pcre2_internal.h", whichever
seems appropriate, it allows for warning/error-free compilation and testing
with MSVC compilers back to at least MSVC 10/2010. Except for VC6 (which is
missing some fundamentals and fails), that's as far back as I've tested.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to