Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2009 18:42:28 +0000
From:      Masoom Shaikh <masoom.shaikh@gmail.com>
To:        "questions@FreeBSD.org" <questions@freebsd.org>
Subject:   bluetooth.h, c++ include error
Message-ID:  <b10011eb0910011142p480deee4j220ebb41623f58e0@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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

thanks,
Masoom Shaikh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b10011eb0910011142p480deee4j220ebb41623f58e0>