This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Two additional errors of GCC 2.96
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: jiayu 33576 <jiayu at huawei dot com>, "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Sat, 21 Aug 2004 06:52:14 -0500
- Subject: Re: Two additional errors of GCC 2.96
- References: <6e9e1201.12016e9e@huawei.com>
Jiayu,
I recommend upgrading to the most current version of GCC. Either GCC 3.4.1
(latest and greatest), or GCC 3.3.4 (yesterday's tried and true).
There is no "GCC 2.96". It's an unofficial, maverick release of GCC by Red
Hat. It's not supported on this forum (although we do give some general
advice).
Your code snippets are incomplete.
Is your enum supposed to be missing the terminating semicolon (and thus
typedefing to VOS_UINT16)? If so, have you tried separating out
g_uwLogicalBoardNo variable from the typedef?
Is your VOS_NULL_WORD define supposed to come AFTER it is being used?
Is your typedef of VOS_UINT16 supposed to come AFTER it is being used?
For your "compiler can't assign by structure"...
Is there a good reason to override the platform recommended packing, which
can cause errors such as "Internal compiler error in 'move_by_pieces'"?
HTH,
--Eljay