[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: snprintf for HP_UX
The configure file did not find "snprintf()", and HAVE_SNPRINTF was not defined, but still the compiler was complaining. The code that checks the presence of "snprintf" is actually in Tcl2.cc and not in Tcl.cc. So I included the file Tcl2.cc in Tcl.cc and compiled. It worked for now. I am going to proceed with the compilation and see if it causes any other problems.
Thank you
Sid
-----Original Message-----
From: John Heidemann [SMTP:[email protected]]
Sent: Thursday, October 08, 1998 5:37 PM
To: Sid Takkella
Cc: [email protected]
Subject: Re: snprintf for HP_UX
On Thu, 08 Oct 1998 17:13:44 CDT, Sid Takkella wrote:
>I am compiling tclcl under HP-UX B.10.20. Tcl.cc has calls to "snprintf( )". and i cant locate the header file for that function. I am not sure if it is supported under HP_UX. If someone has compiled ns for HP_UX, please help.
configure checks for snprintf in the current version and defines
HAVE_SNPRINTF in the Makefiel if it finds it. Can you determine why
configure got the wrong answer?
The work-around is to remove HAVE_SNPRINTF by hand.
-John Heidemann