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 (Read 2670 times)
Hyperlync1
Newbies
*
Offline


Posts: 1
Joined: Nov 7th, 2018
Intellisense Errors
Nov 7th, 2018 at 10:03am
Print Post  
Hi Visual Micro Support,

My project compiles in Visual Studio Enterprise 2017 fine, however, I get the following intellisense errors that I have not been able to remove:

Severity            Code      Description
Error (active)      E0282      the global scope has no "at_quick_exit"                                                      C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.15.26726\include\cstdlib      58      
Error (active)      E0282      the global scope has no "quick_exit"                                                      C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.15.26726\include\cstdlib      58      
Error (active)      E0311      cannot overload functions distinguished by return type alone                  C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\WProgram.h      83      
Error (active)      E0338      more than one instance of overloaded function "memcpy" has 'C' linkage      C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3\WProgram.h      98      
Error (active)      E0035      #error directive: "Unable to determine type definition of intptr_t"            C:\Program Files (x86)\Arduino\hardware\tools\arm\arm-none-eabi\include\sys\_intsup.h      82      
Error (active)      E0035      #error directive: "Unable to determine type definition of int32_t"            C:\Program Files (x86)\Arduino\hardware\tools\arm\arm-none-eabi\include\sys\_intsup.h      89      

Any suggestions?

Thank you,

Michael
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense Errors
Reply #1 - Nov 7th, 2018 at 10:37pm
Print Post  
There is some gcc syntax that the visual studio intellisense can not understand. Visual Micro suppliments the vs intellisense but when you build we use the real tool chains.

If you switch the combobox above the errors lists to "Build Only" or "Open Documents" you can filter intellisense messages that are unrelated to your code.

There is also a checkbox in "project properties > include directories" that switches off the inheritance of c++ paths. That might help or might make intellisense worse.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint