Bug 797266 - bluez headers fail without -fpermissive
Summary: bluez headers fail without -fpermissive
Keywords:
Status: CLOSED DUPLICATE of bug 791292
Alias: None
Product: Fedora
Classification: Fedora
Component: bluez
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 17:46 UTC by Rex Dieter
Modified: 2012-02-24 18:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 18:05:53 UTC
Type: ---


Attachments (Terms of Use)

Description Rex Dieter 2012-02-24 17:46:40 UTC
anything that includes /usr/include/bluetooth/bluetooth.h yields gcc-4.7 errors:

In file included from linux/qsysteminfo_linux_common.cpp:73:0:
/usr/include/bluetooth/bluetooth.h: In function ‘uint64_t bt_get_le64(void*)’:
/usr/include/bluetooth/bluetooth.h:131:113: error: invalid conversion from ‘void*’ to ‘bt_get_le64(void*)::<anonymous struct>*’ [-fpermissive]
In file included from linux/qsysteminfo_linux_common.cpp:73:0:
/usr/include/bluetooth/bluetooth.h: In function ‘uint64_t bt_get_be64(void*)’:
/usr/include/bluetooth/bluetooth.h:136:166: error: invalid conversion from ‘void*’ to ‘bt_get_be64(void*)::<anonymous struct>*’ [-fpermissive]
In file included from linux/qsysteminfo_linux_common.cpp:73:0:
/usr/include/bluetooth/bluetooth.h: In function ‘uint32_t bt_get_le32(void*)’:
/usr/include/bluetooth/bluetooth.h:141:113: error: invalid conversion from ‘void*’ to ‘bt_get_le32(void*)::<anonymous struct>*’ [-fpermissive]
In file included from linux/qsysteminfo_linux_common.cpp:73:0:
/usr/include/bluetooth/bluetooth.h: In function ‘uint32_t bt_get_be32(void*)’:
/usr/include/bluetooth/bluetooth.h:146:165: error: invalid conversion from ‘void*’ to ‘bt_get_be32(void*)::<anonymous struct>*’ [-fpermissive]
In file included from linux/qsysteminfo_linux_common.cpp:73:0:
/usr/include/bluetooth/bluetooth.h: In function ‘uint16_t bt_get_le16(void*)’:
/usr/include/bluetooth/bluetooth.h:151:113: error: invalid conversion from ‘void*’ to ‘bt_get_le16(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint16_t bt_get_be16(void*)’:
/usr/include/bluetooth/bluetooth.h:156:192: error: invalid conversion from ‘void*’ to ‘bt_get_be16(void*)::<anonymous struct>*’ [-fpermissive]
make[2]: *** [../../build/Release/QtSystemInfo/qsysteminfo_linux_common.o] Error 1

Comment 1 Rex Dieter 2012-02-24 18:05:22 UTC
re-assigning => bluez

Comment 2 Rex Dieter 2012-02-24 18:05:53 UTC

*** This bug has been marked as a duplicate of bug 791292 ***


Note You need to log in before you can comment on or make changes to this bug.