public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] inline problem gcc 3.4.2 and 2.6.9-mh3
@ 2004-11-06 12:28 Dick
  2004-11-06 13:17 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Dick @ 2004-11-06 12:28 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi,

GCC 3.4.2 doesn't seem like the prototypes:

static inline u8 l2cap_get_ident(struct l2cap_conn *conn);
static inline int l2cap_send_req(struct l2cap_conn *conn, u8 ident, u8 code, 
u16 len, void *data);

output:
# make
<snip>
net/bluetooth/l2cap.c: In function `__l2cap_sock_close':
net/bluetooth/l2cap.c:77: sorry, unimplemented: inlining failed in call to 
'l2cap_get_ident': function body not available
net/bluetooth/l2cap.c:284: sorry, unimplemented: called from here
net/bluetooth/l2cap.c:78: sorry, unimplemented: inlining failed in call to 
'l2cap_send_req': function body not available
net/bluetooth/l2cap.c:291: sorry, unimplemented: called from here

When I remove inline it seems to compile:
net/bluetooth/l2cap.c:77: warning: 'l2cap_get_ident' declared inline after 
being called
net/bluetooth/l2cap.c:77: warning: previous declaration of 'l2cap_get_ident' 
was here
net/bluetooth/l2cap.c:78: warning: 'l2cap_send_req' declared inline after 
beingcalled
net/bluetooth/l2cap.c:78: warning: previous declaration of 'l2cap_send_req' 
washere

Could someone please take a look at this?
Thanks in advance,
Dick


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-06 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-06 12:28 [Bluez-devel] inline problem gcc 3.4.2 and 2.6.9-mh3 Dick
2004-11-06 13:17 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox