In article <[email protected]>,
David O'Brien <[email protected]> wrote:
> > I've hit this one now too.
> 
> I'm trying to duplicate the problem.
> 
> My guess at the fix is to remove the "-DHAVE_CC_OSFCN_H=1\" line from
> src/gnu/usr.bin/groff/Makefile.cfg.  But I can't tell what other problems
> this may cause.

I've been looking into this.  The main problem of course is that we're
trying to use an old libg++ (and its headers) with a new C++ compiler
(and its headers).

I think the best fix is to edit "src/contrib/libg++/libg++/src/std.h"
and change "#include <stddef>" to "#include <cstddef>".  That's the
correct name of the file according to the C++ standard.

John
-- 
  John Polstra                                               [email protected]
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Self-interest is the aphrodisiac of belief."           -- James V. DeLong


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to