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 Intellisense Errors: VS2017comm + latest VM + Arduino 1.8.x (Read 1962 times)
Lino
Newbies
*
Offline


Posts: 3
Joined: Apr 14th, 2017
Intellisense Errors: VS2017comm + latest VM + Arduino 1.8.x
Apr 14th, 2017 at 5:03pm
Print Post  
It looks to be a problem in the paths.

Correct path:
C:\Program Files (x86)\Arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include

VM keeps changing it into
$(ProjectDir)..\..\..\..\..\Program Files (x86)\Arduino\hardware\tools\avr\lib\gcc\avr\4.8.1\include;

and this generates "intellisense errors" (see screenshot) but project builds fine.

by the way... pgm_read_byte complains (but compiles just fine)
« Last Edit: Apr 14th, 2017 at 5:58pm by Tim@Visual Micro »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense Errors: VS2017comm + latest VM + Arduino 1.8.x
Reply #1 - Apr 14th, 2017 at 7:01pm
Print Post  
Hi,

Thanks for the post.

I moved this question to a new topic because the previous topic was solved.

As you correctly say this issue relates to intellisense only. Recent versions of avr use new gcc version numbers which have now been added to the intellisense system.

The pgm read commands can't be understood by intellisense so they have been redefined for intellisense which will not affect/change the compile. It's possible to define any intellisense issues yourself but it's good to let me know so I can add them to all installations.

You can download the next release from here

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