Hello,
It could be that snprintf() is not properly declared in stdio.h.
Take the following foo.c:
% cat foo.c
#include stdio.h
int main(void)
{
char buf[10];
snprintf(buf, 10, %i, 0);
return 0;
}
%
In C, perhaps after a remark from Markus
On 04/04/2012 9:32 AM, Denis Excoffier wrote:
Hello,
It could be that snprintf() is not properly declared instdio.h.
According to [1], it's not officially part of c++98 (???). Try gnu++98
instead. As for why it's not in c++0x, there's a problem with the macros
being defined [2] that AFAIK
On Wed, Apr 04, 2012 at 10:02:24AM -0400, Ryan Johnson wrote:
On 04/04/2012 9:32 AM, Denis Excoffier wrote:
Hello,
It could be that snprintf() is not properly declared instdio.h.
According to [1], it's not officially part of c++98 (???). Try
gnu++98 instead. As for why it's not in c++0x,
On Apr 4 16:54, Denis Excoffier wrote:
On Wed, Apr 04, 2012 at 10:02:24AM -0400, Ryan Johnson wrote:
On 04/04/2012 9:32 AM, Denis Excoffier wrote:
Hello,
It could be that snprintf() is not properly declared instdio.h.
According to [1], it's not officially part of c++98 (???). Try
On 04/04/2012 11:18 AM, Corinna Vinschen wrote:
On Apr 4 16:54, Denis Excoffier wrote:
On Wed, Apr 04, 2012 at 10:02:24AM -0400, Ryan Johnson wrote:
On 04/04/2012 9:32 AM, Denis Excoffier wrote:
Hello,
It could be that snprintf() is not properly declared instdio.h.
According to [1], it's
5 matches
Mail list logo