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
Marcel Holtmann
maintainerHi Marco,
Quoted 7 lines
From hluez-libs 2.15 to bluez-libs 2.16,
bluetooth.hdoesn't anymore
include thestdio.h(or changes where made andstdio.hwent 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
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.hdoesn't anymore include thestdio.h(or changes where made andstdio.hwent 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.hin 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
Marcel Holtmann
maintainerHi 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
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
Marcel Holtmann
maintainerHi Marco,
Quoted 1 line
I think
hci.hneedssys/socket.hbecause ofsa_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