CWHC08 v6.1 Functions menu

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

CWHC08 v6.1 Functions menu

2,437 次查看
wre
Contributor III
I have just recently installed v6.1 (previously using v3.1) and when I click on the "Functions menu" button in the editor the list includes #defines and prototypes in addition to the actual functions that are contained in the source.  Is this the intended behavior now (v3.1 did not do this)?  Is there a way to have the Functions menu only list the functions that are actually defined in the file being edited?
 
Thanks,
 
Bill
 
标签 (1)
0 项奖励
回复
4 回复数

558 次查看
CrasyCat
Specialist III
Hello
 
There should be something in your configuration.
 
I just tried with a V3.1 generated project.
I am not seeing the includes or prototypes  in the edit window function list. 
 
I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
CrasyCat
0 项奖励
回复

558 次查看
wre
Contributor III
Thanks.  I'm on the road visiting clients this week.  When I get back to my office I'll see if I can put together a small project that demonstrates the problem.
 
Are you confirming that it should only list the actual functions in the code?
 
Note that the prototypes that are showing up in the list are static ones at the top of the source file and not prototypes from an #include file.
 
Here is an example list from one of my project files:
 
#define IPTIMEOUT
ShiftIPDataBitIn(void);
ShiftIPDataBitOut(void);
CheckIPColonReceived(void);
CheckIPCRSent(void);
UpdateIPTimer(void);
TerminateIPTx(void);
StartIPSend(void)
IPComms(void)
ShiftIPDataBitIn(void)
ShiftIPDataBitOut(void)
CheckIPColonReceived(void)
CheckIPCRSent(void)
UpdateIPTimer(void)
TerminateIPTx(void)
...
etc. with normal function headers
 
Thanks,
 
Bill
 
0 项奖励
回复

558 次查看
CrasyCat
Specialist III
Hello
 
I did give it a  closer look.
 
Are you using the Compiler or the language parser to generate Browser Data?
If you are using the compiler, prototypes will not appear in the function list.
If you are using the language parser, the function prototypes will arise in the function list.  
 
This is one of the differences between the 2 configuration.
 
CrasyCat
0 项奖励
回复

558 次查看
wre
Contributor III
That makes some sense.  There was some option I was selecting and it said that the Language Parser should be chosen for better results so I did.  I'll change it back to the compiler and go from there.
 
Thanks,

Bill
 
0 项奖励
回复