Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic error: expected unqualified-id before 'else (Read 2085 times)
BobS
Newbies
*
Offline


Posts: 2
Joined: Dec 20th, 2018
error: expected unqualified-id before 'else
Dec 20th, 2018 at 1:47pm
Print Post  
I am getting this message: 

error: expected unqualified-id before 'else 

during compile of an Arduino project.  There is no syntax error, the Arduino IDE compiles the project without errors.

Sometimes the referenced source line actually has an "else" statement on it, and sometimes there isn't an "else" anywhere around.  Any help will be appreciated.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error: expected unqualified-id before 'else
Reply #1 - Dec 20th, 2018 at 7:45pm
Print Post  
Can you confirm that Visual Micro works same as Arduino IDE when the tool bar is set to Release instead of Debug
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint