bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [ cplusplus-Bugs-657258 ] Implicit declaration of snprintf


From: David Sugar
Subject: Fwd: [ cplusplus-Bugs-657258 ] Implicit declaration of snprintf
Date: Sat, 21 Dec 2002 12:53:58 -0500
User-agent: KMail/1.4.3

process.cpp does include cstdio, which should define snprintf...does it not on 
Solaris?

----------  Forwarded Message  ----------

Subject: [ cplusplus-Bugs-657258 ] Implicit declaration of snprintf
Date: Sat, 21 Dec 2002 09:40:12 -0800
From: address@hidden
To: address@hidden

Bugs item #657258, was opened at 2002-12-21 17:40
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101523&aid=657258&group_id=
1523

Category: Bug Reporter
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rob O'Leary (raoleary)
Assigned to: Nobody/Anonymous (nobody)
Summary: Implicit declaration of snprintf

Initial Comment:
In process.cpp, stdio.h is only included on win32. and
so, on Solaris 8 at least, there is no declaration of
snprintf and the compiler exits with a status of 1,
stopping the make process.

Moving the #include <stdio.h> down a line fixes the
problem.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101523&aid=657258&group_id=
1523

-------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]