By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,816 Members | 1,332 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,816 IT Pros & Developers. It's quick & easy.

Parse error and getting preprocess failed

P: 1
Could you please help me in getting rid of the Parse Error, I think it is something to do with the Preprocessor command.

Could you please let me know the command.



---Preprocess Failed---

In file included from D:/10_VECTORCAST_ENV/BI3_IBU/Application/app_code/smk/a_app_function/warning\ac_plug_connected_warning.c:21:0,

from vcast_preprocess.11044.0.c:3:

D:\10_VECTORCAST_ENV\BI3_IBU\APPLICATION\type/Define.h:170:25: error: pasting "(" and "b_SMK_ACPlugConnectedWarning" does not give a valid preprocessing token

#define ClrEvt(var) (##var##.old_input=##var##.new_input)

^

D:/10_VECTORCAST_ENV/BI3_IBU/Application/app_code/smk/a_app_function/warning\ac_plug_connected_warning.c:84:2: note: in expansion of macro 'ClrEvt'

ClrEvt(b_SMK_ACPlugConnectedWarning);

^

D:/10_VECTORCAST_ENV/BI3_IBU/Application/app_code/smk/a_app_function/warning\ac_plug_connected_warning.c:84:9: error: pasting "b_SMK_ACPlugConnectedWarning" and "." does not give a valid preprocessing token

ClrEvt(b_SMK_ACPlugConnectedWarning);

^

D:\10_VECTORCAST_ENV\BI3_IBU\APPLICATION\type/Define.h:170:28: note: in definition of macro 'ClrEvt'

#define ClrEvt(var) (##var##.old_input=##var##.new_input)

^~~

D:\10_VECTORCAST_ENV\BI3_IBU\APPLICATION\type/Define.h:170:43: error: pasting "=" and "b_SMK_ACPlugConnectedWarning" does not give a valid preprocessing token

#define ClrEvt(var) (##var##.old_input=##var##.new_input)

^
3 Weeks Ago #1
Share this Question
Share on Google+
1 Reply


100+
P: 103
Show your code and explain briefly what the code is about.
3 Weeks Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.