Article View: gnu.gcc.help
Article #579Problem w/ included files on sparc w/ gcc 2.3.1
From: Richard Stallman
Date: Fri, 06 Nov 1992 14:23
Date: Fri, 06 Nov 1992 14:23
21 lines
1279 bytes
1279 bytes
He very kindly provided me the following patch:
> change /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.2.2/include/stddef.h
>
> #ifdef __GNUG__
> /* In C++, wchar_t is a distinct basic type,
> and we can expect __wchar_t to be defined by cc1plus. */
> typedef unsigned short wchar_t; /* CHANGED LINE */
> #else
>
> (~40 lines from the bottom).
This is most certainly not the right fix, though it may suffice as a
temporary workaround.
I can't begin to figure out what is the right fix unless you send more
information. What you sent shows *that there is* a problem but sheds
no light on what is wrong. If you find two declarations conflict, you
must *show* both declarations. Please see the Bugs chapter in the GCC
manual.
Technical Details
Message-ID:
<9211070023.AA11445@mole.gnu.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rmsReferences:
<45371@ogicse.ogi.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms From: rms@gnu.ai.mit.edu (Richard Stallman) Newsgroups: gnu.gcc.help Subject: Problem w/ included files on sparc w/ gcc 2.3.1 Message-ID: <9211070023.AA11445@mole.gnu.ai.mit.edu> Date: 6 Nov 92 14:23:45 GMT Article-I.D.: mole.9211070023.AA11445 References: <45371@ogicse.ogi.edu> Sender: daemon@cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21