Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Oct 2002 17:02:27 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        freebsd-current@freebsd.org
Subject:   Re: stdlib.h:57: redeclaration of C++ built-in type `wchar_t'
Message-ID:  <3DA0CF13.8E27F12@mindspring.com>
References:  <20021007004727.A3639@gicco.cablecom.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Hanspeter Roth wrote:
> /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?

You failed to delete the old header files when you upgraded your
compiler.  The easiest answer is "man rm".  8-).

-- Terry

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?3DA0CF13.8E27F12>