Article View: gnu.g++.help
Article #586How do I fix wchar_t type conflict in g++ 2.3.1 ?
From: Stephen O. Berger
Date: Thu, 19 Nov 1992 14:59
Date: Thu, 19 Nov 1992 14:59
26 lines
1036 bytes
1036 bytes
Hi,
I've just compiled g++ 2.3.1 on a Sparc IPX running sunos 4.1.2 and I am
now getting a type conflict when compiling this simple program :
#include <sys/types.h>
main()
{
}
Here are the error messages generated :
In file included from /usr/local/lib/g++-include/sys/types.h:15, from
t3.cc:1:
/usr/include/sys/types.h:24: conflicting types for `wchar_t'
/usr/local/lib/g++-include/stddef.h:11: previous declaration of `wchar_t'
Has anyone else encountered this problem ? gcc 2.2.1 did not exhibit this
problem.
Steve Berger (sb@onripx.neuro.emory.edu)
Technical Details
Message-ID:
<1ega5eINN8ce@emory.mathcs.emory.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!emory!emory!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!emory!emory!usenet From: sb@next.neuro.emory.edu (Stephen O. Berger) Newsgroups: gnu.g++.help Subject: How do I fix wchar_t type conflict in g++ 2.3.1 ? Date: 19 Nov 1992 14:59:58 GMT Organization: Emory University, Dept of Math and CS Lines: 26 Message-ID: <1ega5eINN8ce@emory.mathcs.emory.edu> Reply-To: sb@next.neuro.emory.edu NNTP-Posting-Host: next.neuro.emory.edu