This is not a bug. The headers are also not usable in pascal or fortran programs.
Thomas On Mar 6, 2011 2:00 PM, "Samuel Thibault" <[email protected]> wrote: > URL: > <http://savannah.gnu.org/bugs/?32693> > > Summary: GNU/Hurd headers don't pass c++ > Project: The GNU Hurd > Submitted by: sthibaul > Submitted on: dim. 06 mars 2011 21:43:05 CET > Category: None > Severity: 3 - Normal > Priority: 5 - Normal > Item Group: None > Status: None > Privacy: Public > Assigned to: None > Originator Name: > Originator Email: > Open/Closed: Open > Discussion Lock: Any > Reproducibility: None > Size (loc): None > Planned Release: None > Effort: 0.00 > Wiki-like text discussion box: > > _______________________________________________________ > > Details: > > for instance: > /usr/include/hurd/signal.h: In function 'hurd_sigstate* > _hurd_self_sigstate()': > /usr/include/hurd/signal.h:136: error: invalid conversion from 'void*' to > 'hurd_sigstate**' > and hurd/hurd.h > > Even with external "C" { } > > I tried to submit a patch to turn them c++, but roland rejected it, > saying (http://sources.redhat.com/ml/libc-alpha/2007-08/msg00006.html) > “I really think you need to find another approach. The libc > code is in C, actually in GNU C. The original purpose of C++ was > to be usefully interoperable with C code, and it's a shame if its > implementors have lost sight of that. But their failings are not going > to make me start using an uglified stupid hybrid crap style instead of > GNU C.” > > > > > > _______________________________________________________ > > Reply to this item at: > > <http://savannah.gnu.org/bugs/?32693> > > _______________________________________________ > Message posté via/par Savannah > http://savannah.gnu.org/ > >
