freebsd-bluetooth  

Re: bluetooth.h, c++ include error

Maksim Yevmenkin
Sun, 04 Oct 2009 11:27:07 -0700

On Sun, Oct 4, 2009 at 10:42 AM, Masoom Shaikh <masoom.sha...@gmail.com> wrote:
> posting here after @current and @questions ignored
>
> 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 @ 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


patches are welcome

thanks,
max
_______________________________________________
freebsd-bluetooth@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "freebsd-bluetooth-unsubscr...@freebsd.org"