| Summary: | C++ keywords in kernel header files | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | afo <afo> | ||||
| Component: | kern | Assignee: | Nick Hibma <n_hibma> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
afo
2000-01-08 11:10:01 UTC
Responsible Changed From-To: freebsd-bugs->n_hibma usb.h is mine. Why not wrap your application level include in an extern "C" construct? It seems like this would make more sense (as the kernel is written in C, and you're the one importing it into a C++ context). I don't see any reason to make the kernel's C-coders responsible for C++ compatibility, do you? Daniel -- Daniel Hagan Computer Science CSE dhagan@cs.vt.edu http://www.cs.vt.edu/~dhagan/ The reason for the delay is simply that the class,subclass,etc. fields should go away completely. It's duplicate info that can be read from the device/configuration/interface descriptors. But it'll have to change (says dfr and he looked like he was sure about that :-) It'll break the utils that are based on it. Nick On Tue, 18 Jan 2000, Daniel Hagan wrote: > Why not wrap your application level include in an extern "C" construct? > It seems like this would make more sense (as the kernel is written in C, > and you're the one importing it into a C++ context). I don't see any > reason to make the kernel's C-coders responsible for C++ compatibility, do > you? > > Daniel > > -- > Daniel Hagan Computer Science CSE > dhagan@cs.vt.edu http://www.cs.vt.edu/~dhagan/ > > -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ State Changed From-To: open->closed this has been fixed by prepending udi_ to the field. |