Jump to content

Recommended Posts

  • 1 month later...

That's because the MPLAB X IDE is doing its own syntax checking and "interrupt" is a reserved word in the X8C compile which it expects you to be using. The syntax in X8C would be

 

void interrupt foo()

{

}

 

whereas sourceboost would expect just

 

void interrupt()

{

}

 

I can't offhand think of an obvious fix.

Link to post
Share on other sites
  • 9 months later...

Hey!

 

Did you find a fix for this? Ive just started using mplabX and there are loads of syntax problems shown, but sourceboost compiles just fine:

 

errors are:

 

bool, intrinsic functions such as set_bit, clear_bit etc.., porta, portb, etc..

 

?

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...