bluetooth.h, c++ include error

Masoom Shaikh masoom.shaikh at
Thu Oct 1 19:12:06 UTC 2009


while going through bluetooth.h, I observed

int bt_devfilter(int s, struct bt_devfilter const *new, struct bt_devfilter

this line appears in bluetooth.h @ 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

Masoom Shaikh

More information about the freebsd-questions mailing list