Project

General

Profile

Actions

Bug #2299

closed

std::snprintf not found in buggy STL implementations

Added by Alex Afanasyev almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

At least with cygwin, does not properly define std::snprintf, but C's version ::snprintf is still available.

I'm proposing changing instances of std::snprintf with the following:

// inside function body
using namespace std;
snprintf(...);

Files

snprintf.patch (1.36 KB) snprintf.patch Mathias Gibbens, 04/13/2015 11:08 AM
Actions

Also available in: Atom PDF