Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 319374 Details for
Bug 428282
net-wireless/bluez-4.99 expected specifier-qualifier-list before ‘typeof’ in bluetooth.h
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from Debian (http://patch-tracker.debian.org/patch/series/view/bluez/4.101-1/09_fix_ftbfs_with_c99.patch)
09_fix_ftbfs_with_c99.patch (text/plain), 700 bytes, created by
W. Trevor King
on 2012-07-27 09:56:16 UTC
(
hide
)
Description:
Patch from Debian (http://patch-tracker.debian.org/patch/series/view/bluez/4.101-1/09_fix_ftbfs_with_c99.patch)
Filename:
MIME Type:
Creator:
W. Trevor King
Created:
2012-07-27 09:56:16 UTC
Size:
700 bytes
patch
obsolete
>http://permalink.gmane.org/gmane.linux.bluez.kernel/22306 > >diff --git a/lib/bluetooth.h b/lib/bluetooth.h >index 0541842..5b2153d 100644 >--- a/lib/bluetooth.h >+++ b/lib/bluetooth.h >@@ -140,16 +140,16 @@ enum { > #define bt_get_unaligned(ptr) \ > ({ \ > struct __attribute__((packed)) { \ >- typeof(*(ptr)) __v; \ >- } *__p = (typeof(__p)) (ptr); \ >+ __typeof__(*(ptr)) __v; \ >+ } *__p = (__typeof__(__p)) (ptr); \ > __p->__v; \ > }) > > #define bt_put_unaligned(val, ptr) \ > do { \ > struct __attribute__((packed)) { \ >- typeof(*(ptr)) __v; \ >- } *__p = (typeof(__p)) (ptr); \ >+ __typeof__(*(ptr)) __v; \ >+ } *__p = (__typeof__(__p)) (ptr); \ > __p->__v = (val); \ > } while(0) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 428282
:
319370
|
319372
| 319374