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: int32_t uint32_t shown as undefined types with Teensy 4.0 (Read 1441 times)
Fabrz71
Newbies
*
Offline


Posts: 9
Location: Bergamo, Italy
Joined: Jan 28th, 2018
intellisense: int32_t uint32_t shown as undefined types with Teensy 4.0
Dec 27th, 2022 at 1:12pm
Print Post  
I have to report a boring bug that causes much code "visual" invalidation, underlining in red all int32_t and uint32_t defined types as these were undefined.
It's only a visual-annoying trouble as the code is ok and compiles regularly, but intellisense goes completely in troubles (showing a lot of fake errors in code) and loses its usefulness. Sad
I can only temporary resolve the problem updating the auto-generated file .[projectname].vsarduino.h, which defines only the underscored types __int32_t and __uint32_t twice, instead (as in the attached image). But as soon as the file is regenerated by VisualMicro, the problem is back again. It seem to happen only with Teensy board set (with Teensyduino library extension).
« Last Edit: Dec 27th, 2022 at 1:19pm by Fabrz71 »  

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


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: intellisense: int32_t uint32_t shown as undefined types with Teensy 4.0
Reply #1 - Dec 27th, 2022 at 1:56pm
Print Post  
Please remember to follow the guide in yellow at the top of the page when creating posts here.

With the new intellisense system the vsarduino system no longer has to re-define code. To convert your project.

If you close the solution, then move/backup the .vcxproj file. Then click "File>Open>Arduino Project" and select the project_name.ino file from the project folder. That will create a new vcxproj file that uses the new format.

After this you can open the project as normal.
« Last Edit: Dec 27th, 2022 at 11:54pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint