Multile h files in code warrier

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multile h files in code warrier

2,920件の閲覧回数
KAt
Contributor I
I 'm a newbie in code warrier IDE 5.6.1.:smileyhappy:
 
When I complile my project(*.mcp file) and I look at the h files that the c files includes, using a button
.h (in red color with yellow background) it shows several h file with the same name.
 
for instance
if a c file named  a.c file includes "a.h"
 
when I  press the header files button(.h in read color) it shoes 4 h files:
a.h
a.h
a.h
a.h
 
how can fix that?
Thankx.
Kat.
 
 
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,167件の閲覧回数
J2MEJediMaster
Specialist I
It seems the CW IDE is confused about wherfe it's picking up file information. Try the following menu commands, in this order:

Project | Remove Obejct Code...
Project | Reset Project Entry Paths
Project | Re-search for Files
Project | Make

This will force the CW IDE to update all of the project's file information, and hopefully eliminate the redundant header file information.

---Tom
0 件の賞賛
返信

1,167件の閲覧回数
KAt
Contributor I
Unfortunatly it did not help.
I did exactly that still getting the same result.
Thnakx Tom:smileyhappy:
Kat.
0 件の賞賛
返信

1,167件の閲覧回数
J2MEJediMaster
Specialist I
Well, that's puzzling.

OK, let's take this tack: Does this odd-ball behavior just affect your project? Have you buit the demo programs that came with CW and do they behave normally? In your code, do other heade files make use of a.h?

---Tom
0 件の賞賛
返信