Hi all,

In fact, I haven"t find yet another place where
socklen_t can have be definre previously...
I'm working on windows 2000, and Try to compile with
Visual 2005 (VC8.0)
So, I try do do >scons phapi, and whan he wantsd to
build netlib, I've the error I talked about...

So, to understand, I decided to create a project in
visual 2005...and surprise...it compiles !!!
I haven't the problem with typedef int socklen_t.
I have sometimes warning with the use of SOCKET -it
says me that there is conversion from socket to
int)...but no error...I can compile...

SO, I really don't understand what can be the
problem...Why doesn't it works with scons ?!

I think it's perhaps because I haven't put a file
where socklen_t could have be define in my VC8
project, but if this file was necessary...it shouldn't
compile...

Do you have any idea ?!

Thanks a lot

regards


--- Weiguang Shi <[EMAIL PROTECTED]> a écrit :

> I met this when trying to build wengo-classic w/
> VC80
> but in a different place. I guess this is because
> socklen_int had been typedefed before somewhere. I
> ended up commenting out the offending 
> 
>     #define socklen_t int
> 
> It's dirty and worked. Your case may vary but
> finding
> where socklen_t is redefined might help.
> 
> Wei
> 
> --- jérémie HUYGHE <[EMAIL PROTECTED]> wrote:
> 
> > Hi all,
> > 
> > When I try to build phapi using scons, it says me
> an
> > error with netlib:
> > 
> >
> c:\openwengo-ng\trunk\wifo\netlib\src\udp_func.h(17)
> > :
> > error C2632: 'int' follow
> > ed by 'int' is illegal
> >
> c:\openwengo-ng\trunk\wifo\netlib\src\udp_func.h(17)
> > :
> > warning C4091: 'typedef '
> >  : ignored on left of 'int' when no variable is
> > declared
> > scons: *** [debug\wifo\netlib\src\netlib.obj]
> Error
> > 2
> > 
> > 
> > I don't understand...in UDP_func.h, line 17, it's:
> > typedef int socklen_t;
> > 
> > What can be the matter with socklen_t  ?
> > Have you ever met this problem ?!
> > 
> > Thanks in advance.
> > regards.
> > 
> > Jérémie
> > 
> > 
> >     
> > 
> >     
> >             
> >
>
___________________________________________________________________________
> > 
> > Nouveau : téléphonez moins cher avec Yahoo!
> > Messenger ! Découvez les tarifs exceptionnels pour
> > appeler la France et l'international.
> > Téléchargez sur http://fr.messenger.yahoo.com
> > _______________________________________________
> > Wengophone-devel mailing list
> > [email protected]
> >
>
http://dev.openwengo.com/mailman/listinfo/wengophone-devel
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 



        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to