2005-04-20 12:23:20

by Marco Trudel

[permalink] [raw]
Subject: [Bluez-users] headerfile depencies

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-04-27 10:50:24

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] headerfile depencies

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-27 10:33:33

by Marco Trudel

[permalink] [raw]
Subject: Re: [Bluez-users] headerfile depencies

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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-20 12:46:02

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] headerfile depencies

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-20 12:42:19

by Marco Trudel

[permalink] [raw]
Subject: Re: [Bluez-users] headerfile depencies

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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-20 12:29:57

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] headerfile depencies

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users