![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Problem using gcc version 4 Topic Summary: Created On: 15-May-2007 06:53 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
If I compile with version 4.1.2 of the gcc compiler I get the following error:
error: array type has incomplete element type The reason for the error is caused by a forward declaration made by the code generator (Rhapsody C v. 7.0). gcc version 3 do not give the error (or any other compiler I know) (not even PC lint). Is there any workaround (besides using an old gcc) and/or are Rhapsody aware of the "problem". Here is a sample code where the compile error occurs: ----- extern struct AnalogInHw_t AnalogInHw[NO_OF_AD_CHANNELS]; ----- So if you have an array of objects the gcc error is given. Mikael |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Problem using gcc version 4
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.