Skip to contentSkip to conversation

headerfile depencies

Bluez-users Marco Trudel 2 participants 6 messages Apr 20, 2005 – Apr 27, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw

Hi Marco,

Quoted 7 lines

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

#2 lore raw

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

Quoted 20 lines · Marcel Holtmann

Hi Marco,

Quoted 5 lines

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

Quoted 11 lines

-------------------------------------------------------
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

maintainer
#3 lore raw

Hi Marco,

Quoted 2 lines

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

#4 lore raw

Hello Marcel

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

regards
Marco

Quoted 16 lines · Marcel Holtmann

Hi Marco,

Quoted 1 line

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

Quoted 11 lines

-------------------------------------------------------
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

maintainer
#5 lore raw

Hi Marco,

Quoted 1 line

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