Multile h files in code warrier

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multile h files in code warrier

3,179 次查看
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,426 次查看
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,426 次查看
KAt
Contributor I
Unfortunatly it did not help.
I did exactly that still getting the same result.
Thnakx Tom:smileyhappy:
Kat.
0 项奖励
回复

1,426 次查看
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 项奖励
回复