Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 00:47:27 +0200
From:      Hanspeter Roth <hanspeter_roth@hotmail.com>
To:        freebsd-current@freebsd.org
Subject:   stdlib.h:57: redeclaration of C++ built-in type `wchar_t'
Message-ID:  <20021007004727.A3639@gicco.cablecom.ch>

next in thread | raw e-mail | index | archive | help
Hello,

when running buildworld I get:

===> gnu/usr.bin/gperf/doc
c++  -O -pipe    -D__FBSDID=__RCSID -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/bool-array.cc
c++  -O -pipe    -D__FBSDID=__RCSID -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf -c /usr/src/contrib/gperf/src/gen-perf.cc
In file included from /usr/src/contrib/gperf/src/gen-perf.cc:23:
/usr/include/stdlib.h:57: redeclaration of C++ built-in type `wchar_t'
*** Error code 1


#ifdef  _BSD_SIZE_T_
typedef _BSD_SIZE_T_    size_t;
#undef  _BSD_SIZE_T_

How can I resolve this redeclaration?

-Hanspeter

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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