gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] warnings in interface modules


From: Paul Pogonyshev
Subject: [gnugo-devel] warnings in interface modules
Date: Thu, 6 Feb 2003 23:58:05 +0200
User-agent: KMail/1.4.3

i constantly get the following warnings:

play_ascii.c: In function `play_ascii':
play_ascii.c:560: warning: implicit declaration of function `setlinebuf'
play_gtp.c: In function `play_gtp':
play_gtp.c:297: warning: implicit declaration of function `setlinebuf'

`configure' sets HAVE_SETLINEBUF to 1. here is an excerpt from
/usr/include/stdio.h (on gnu/linux):

...

#ifdef  __USE_BSD
/* If BUF is NULL, make STREAM unbuffered.
   Else make it use SIZE bytes of BUF for buffering.  */
extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
                       size_t __size) __THROW;

/* Make STREAM line-buffered.  */
extern void setlinebuf (FILE *__stream) __THROW;
#endif

...

apparently, we don't have __USE_BSD defined. do you get the same
warnings? can they be eliminated easily?

Paul






reply via email to

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