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

Re: Q about install ns



pls update your tclcl to current snapshot.

On Tue, 19 Oct 1999, Yan Yu wrote:

> I got a make error in installing ns.
> 
> In config.h line 268 they defined the prototype of snprintf, it is conflict 
> with the same definition in /usr/include/stdio.h.
> My Q is: why is it needed to redefine snprintf in another form here?
> I commented this line, will this cause any further problem later?
> thanks,
> yan
> 
> 
> I copy the definition in config.h as follows:
> 
> // Declare our implementation of snprintf() so that ns etc. can use it. 
> #ifndef HAVE_SNPRINTF
> #if defined(__cplusplus)
> extern "C" {
> #endif
> //      extern int snprintf(char *buf, int size, const char *fmt, ...);
> #if defined(__cplusplus)
> }
> #endif
> #endif
> 
>