Hi Hendrik,

> > > > > I prepared some new patches that you may want to pull before release.
> > > > > It mainly removes all function marked as compatibiliy and deprecated
> > > > > and fixes the bluetooth definitions for NetBSD.
> > > > >
> > > > > They are in the 'updates' branch at
> > > > > git://gitorious.org/openobex/mainline.git.
> > > >
> > > > cc1: warnings being treated as errors
> > > > obex.c:1047: error: no previous declaration for ‘InOBEX_ServerRegister’
> > > > obex.c:1066: error: no previous declaration for
> > > > ‘InOBEX_TransportConnect’
> > > >
> > > > These need to be fixed.
> > >
> > > Done.
> >
> > no, you didn't fix it:
> >
> > cc1: warnings being treated as errors
> > obex_tcp.c: In function ‘main’:
> > obex_tcp.c:106: error: implicit declaration of function
> > ‘InOBEX_ServerRegister’
> >
> > Can you just use autoconf to compile test it at least. Then these errors
> > would be obvious.
> 
> Actually not because the USB-1.0 include files are not clean enough but 
> included with -I instead -isystem (the latter would make gcc ignore it):
> In file included from ../../lib/usbobex.h:28,                                 
>                                                                               
>           
>                  from ../../lib/obex_transport.h:39,                          
>                                                                               
>           
>                  from ../../lib/obex_main.h:44,                               
>                                                                               
>           
>                  from ../../lib/obex.c:48:                                    
>                                                                               
>           
> /usr/include/libusb-1.0/libusb.h: In function ‘libusb_get_iso_packet_buffer’: 
>                                                                               
>           
> /usr/include/libusb-1.0/libusb.h:1057: error: comparison between signed and 
> unsigned                                                                      
>             
> /usr/include/libusb-1.0/libusb.h:1060: error: comparison between signed and 
> unsigned                                                                      
>             
> /usr/include/libusb-1.0/libusb.h: In function 
> ‘libusb_get_iso_packet_buffer_simple’:                                        
>                                           
> /usr/include/libusb-1.0/libusb.h:1088: error: comparison between signed and 
> unsigned                                                                      
>             
> 
> Maybe someone should file a bug to them.

that is pretty much bad. Normally this means they have too much code
inside the header includes :(

> I just did not compile the apps before the last pull requests. My bad.
> 
> obex_tcp is now converted, I did no run-time test as I'm going to 
> (offline-)vacation for a week right now :)

Pulled and pushed back out. Thanks.

Regards

Marcel



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to