Thread View: gnu.g++.help
1 messages
1 total messages
Started by Stephen O. Berger
Thu, 19 Nov 1992 14:59
How do I fix wchar_t type conflict in g++ 2.3.1 ?
Author: 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)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads