All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] headerfile depencies
@ 2005-04-20 12:23 Marco Trudel
  2005-04-20 12:29 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Trudel @ 2005-04-20 12:23 UTC (permalink / raw)
  To: bluez-users

Hello all

 From hluez-libs 2.15 to bluez-libs 2.16, bluetooth.h doesn't anymore 
include the stdio.h (or changes where made and stdio.h went forgotten).

So the user has to include it in his own program, even if he doesn't need it.
This might be more a c specific question, but aren't header files supposed 
to handle their requirements themselve?
Please note that I'm not a c expert. This is a question, not a accusation...

regards
Marco


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] headerfile depencies
  2005-04-20 12:23 [Bluez-users] headerfile depencies Marco Trudel
@ 2005-04-20 12:29 ` Marcel Holtmann
  2005-04-20 12:42   ` Marco Trudel
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2005-04-20 12:29 UTC (permalink / raw)
  To: bluez-users

Hi Marco,

>  From hluez-libs 2.15 to bluez-libs 2.16, bluetooth.h doesn't anymore 
> include the stdio.h (or changes where made and stdio.h went forgotten).
> 
> So the user has to include it in his own program, even if he doesn't need it.
> This might be more a c specific question, but aren't header files supposed 
> to handle their requirements themselve?
> Please note that I'm not a c expert. This is a question, not a accusation...

I already fixed it in the CVS. I always include stdio.h in my C files
and so this slipped through my eyes.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] headerfile depencies
  2005-04-20 12:29 ` Marcel Holtmann
@ 2005-04-20 12:42   ` Marco Trudel
  2005-04-20 12:46     ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Trudel @ 2005-04-20 12:42 UTC (permalink / raw)
  To: bluez-users

Actually I already stumbled about depencies like this, but I don't remember 
them. I'll inform you if I find them again...

regards
Marco


Marcel Holtmann wrote:
> Hi Marco,
> 
> 
>> From hluez-libs 2.15 to bluez-libs 2.16, bluetooth.h doesn't anymore 
>>include the stdio.h (or changes where made and stdio.h went forgotten).
>>
>>So the user has to include it in his own program, even if he doesn't need it.
>>This might be more a c specific question, but aren't header files supposed 
>>to handle their requirements themselve?
>>Please note that I'm not a c expert. This is a question, not a accusation...
> 
> 
> I already fixed it in the CVS. I always include stdio.h in my C files
> and so this slipped through my eyes.
> 
> Regards
> 
> Marcel
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime info,
> new features, or free trial, at: http://www.businessobjects.com/devxi/728
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] headerfile depencies
  2005-04-20 12:42   ` Marco Trudel
@ 2005-04-20 12:46     ` Marcel Holtmann
  2005-04-27 10:33       ` Marco Trudel
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2005-04-20 12:46 UTC (permalink / raw)
  To: bluez-users

Hi Marco,

> Actually I already stumbled about depencies like this, but I don't remember 
> them. I'll inform you if I find them again...

keep posting them and I also like to know of any changes we might need
for the GCC 4.0 support in the future.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] headerfile depencies
  2005-04-20 12:46     ` Marcel Holtmann
@ 2005-04-27 10:33       ` Marco Trudel
  2005-04-27 10:50         ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Trudel @ 2005-04-27 10:33 UTC (permalink / raw)
  To: bluez-users

Hello Marcel

I think hci.h needs sys/socket.h because of sa_family_t.


regards
Marco

Marcel Holtmann wrote:
> Hi Marco,
> 
> 
>>Actually I already stumbled about depencies like this, but I don't remember 
>>them. I'll inform you if I find them again...
> 
> 
> keep posting them and I also like to know of any changes we might need
> for the GCC 4.0 support in the future.
> 
> Regards
> 
> Marcel
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime info,
> new features, or free trial, at: http://www.businessobjects.com/devxi/728
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 
> 


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bluez-users] headerfile depencies
  2005-04-27 10:33       ` Marco Trudel
@ 2005-04-27 10:50         ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-04-27 10:50 UTC (permalink / raw)
  To: bluez-users

Hi Marco,

> I think hci.h needs sys/socket.h because of sa_family_t.

also added to l2cap.h and rfcomm.h.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-27 10:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20 12:23 [Bluez-users] headerfile depencies Marco Trudel
2005-04-20 12:29 ` Marcel Holtmann
2005-04-20 12:42   ` Marco Trudel
2005-04-20 12:46     ` Marcel Holtmann
2005-04-27 10:33       ` Marco Trudel
2005-04-27 10:50         ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.