Multile h files in code warrier

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multile h files in code warrier

2,077 Views
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.
 
 
Labels (1)
0 Kudos
3 Replies

324 Views
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 Kudos

324 Views
KAt
Contributor I
Unfortunatly it did not help.
I did exactly that still getting the same result.
Thnakx Tom:smileyhappy:
Kat.
0 Kudos

324 Views
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 Kudos