Jump to content
chuckj

Ver. 7.20 New Error On &(Xxxx) Construct.

Recommended Posts

Running Windows XP SP3

MPLAB X ver 1.80

BoostC ver 7.20

 

I am getting these compilation errors that I was not getting before I updated Boostc:

 

wallcontrol.c(751:26): error: failed to generate expression
wallcontrol.c(751:26): error: invalid operand '&(lata)'
wallcontrol.c(751:24): error: failed to generate expression
wallcontrol.c(752:28): error: failed to generate expression
wallcontrol.c(752:28): error: invalid operand '&(stEE.stVars.eWallAMode)'
wallcontrol.c(752:26): error: failed to generate expression
wallcontrol.c(753:31): error: failed to generate expression

 

The errors go away if I get rid of the parentheses:

 

&(lata) gives an error.

&lata does not give an error

 

&(stEE.stVars.eWallAMode) gives an error.

&stEE.stVars.eWallAMode does not give an error.

 

I cannot say if this is a bug with respect to ANSI C, but I suspect that it is....

 

 

Thanks,

Chuck

 

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...