RE: build problem with 2.0.17 on HPUX 11.00





> -----Original Message-----
> From: Pawel Salek [mailto:pawsa@theochem.kth.se]
> Sent: Wednesday, April 07, 2004 12:14 PM
> To: Gansser, Martin
> Subject: Re: build problem with 2.0.17 on HPUX 11.00
> 
> 
> On 2004.04.07 11:57, Gansser, Martin wrote:
> > > -----Original Message-----
> > > From: Pawel Salek [mailto:pawsa@theochem.kth.se]
> > > Sent: Wednesday, April 07, 2004 11:12 AM
> > > To: Gansser, Martin
> > > Cc: balsa-list@gnome.org; Brian Stafford
> > > Subject: Re: build problem with 2.0.17 on HPUX 11.00
> > >
> > protocol.c:155: warning: implicit declaration of function `strdup'
> > protocol.c:155: warning: assignment makes pointer from integer
> 
> Well, if you included string.h, you should never ever have a warning  
> that strdup() declaration is missing.
> 
> can you compile a simplest program:
> 
> #include <string.h>
> int main() {
> char *s= strdup("a");
> return 0;
> }
> 
> cc a.c
> 
> Do you still get a warning on this?
> 
> Pawel

compiles w/o errors.

I attached the complete output from libesmtp
Martin

t.gz



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