[issue663] C++ reserved keywords used in system headers accessible from userspace

Matthew Dillon dillon at apollo.backplane.com
Tue May 29 09:53:40 PDT 2007


:New submission from Hasso Tepper <hasso at estpak.ee>:
:
:C++ reserved keyword "private" is used in /usr/include/sys/objcache.h lines 49 
:and 50. C++ reserved keyword "class" is used in /usr/include/sys/sysref.h line 
:110. Both problems are hit by application which wants to use kinfo_proc and 
:includes just sys/user.h for that.

   Bleh.  ok, it'll get fixed right now.

						-Matt





More information about the Bugs mailing list