[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA: Embedded pictures support
- To: geda-dev@xxxxxxxx
- Subject: Re: gEDA: Embedded pictures support
- From: Carlos Nieves Ónega <cnieves@xxxxxxxxxx>
- Date: Sat, 01 Oct 2005 10:30:30 +0200
- Delivered-to: archiver@seul.org
- Delivered-to: geda-dev-outgoing@seul.org
- Delivered-to: geda-dev@seul.org
- Delivery-date: Sat, 01 Oct 2005 04:33:13 -0400
- In-reply-to: <433DDECC.2020301@mcmahill.net>
- References: <1128117986.3989.19.camel@otilio> <433DDECC.2020301@mcmahill.net>
- Reply-to: geda-dev@xxxxxxxx
- Sender: owner-geda-dev@xxxxxxxx
El vie, 30-09-2005 a las 20:56 -0400, Dan McMahill escribiÃ:
> Carlos Nieves Ãnega wrote:
>
> > There is still a compiler warning related with the new file
> > s_encoding.nw:
> > When compiling, the compiler tells:
> > ../noweb/s_encoding.nw: In function 's_encoding_base64_decode':
> > ../noweb/s_encoding.nw:233: warning: implicit declaration of function
> > 'strlen'
> > ../noweb/s_encoding.nw:233: warning: incompatible implicit declaration
> > of built-in function 'strlen'
> > The function strlen is declared in string.h, I think. At the beginning
> > of the s_encoding.nw file, I put the include clause:
> > #ifdef HAVE_STRING_H
> > #include <string.h>
> > #endif
> > If I remove the #ifdef clause, so it always includes the string.h file,
> > the compiler warning goes away...
> > The other source files uses this and all is working fine, so I didn't
> > removed the #ifdef clause... but I don't know why this is happening. Any
> > ideas?
>
> is there a
>
> #ifdef HAVE_CONFIG_H
> #include "config.h"
> #endif
>
> at the top?
>
> -Dan
>
No, there wasn't. Thanks, Dan!. This is fixed now in CVS.
Carlos