bluetooth.h, c++ include error

From: Masoom Shaikh <masoom.shaikh_at_gmail.com>
Date: Thu, 1 Oct 2009 19:32:13 +0000
Hello,

while going through bluetooth.h, I observed

int bt_devfilter(int s, struct bt_devfilter const *new, struct bt_devfilter
*old);

this line appears in bluetooth.h _at_ line # 166, rv197571

see ? the variable named 'new' will cause trouble to c++ source files
i honestly believe this is not intentional, c++ programmers will have to
perform some acrobats to get past this

thanks,
Masoom Shaikh
Received on Thu Oct 01 2009 - 18:03:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC