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 Enable standards conformance mode? (Read 1589 times)
Ben
Newbies
*
Offline


Posts: 1
Joined: Sep 20th, 2017
Enable standards conformance mode?
Sep 20th, 2017 at 6:29pm
Print Post  
I'm editing some Arduino code written by others which has the use of the words "or" and "and" instead of || and &&.  I wasn't familiar with this before, but apparently it's a standard language feature of C++ (https://stackoverflow.com/a/6006540/651139). ; Visual Studio with VisualMicro thinks these keywords are errors, but they compile just fine in the Arduino IDE.  The previous link indicates I need to add the "/Za" flag to compile correctly in Visual Studio.  But, when I right click on my VisualMicro project, I don't see any tab for C/C++ properties.  How can I get Visual Studio/VisualMicro to stop treating these valid expressions as errors?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Enable standards conformance mode?
Reply #1 - Sep 23rd, 2017 at 1:18pm
Print Post  
Hi,

You will find that Visual Micro compiles okay but it is the Visual Studio intellisense that reports the errors. The VS intellisense and vs project properties are for intellisense only. You could try changing the project language in the vs project properties.

  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint