Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 

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 and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Error on non-existant line (Read 174 times)
Gu Lafontaine
Newbies
*
Offline



Posts: 4
Error on non-existant line
Sep 18th, 2022 at 8:14pm
 
Hi, i rarely ask for help but this time i don't know where to look anymore. The code compiled fine before i updated to latest VS. Still works in VS code

In visual micro I get these errors on non-existing or commented lines

I get an error : 436:32: error: expected identifier before numeric constant
   436 |
   |                                ^

UBI8266.ino: 436:32: error: expected ',' or '...' before numeric constant

UBI8266.ino: 437:34: error: expected identifier before numeric constant
   437 |     \\GetEspHardwareType()
   |                                  ^

437:34: error: expected ',' or '...' before numeric constant
Back to top
 

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



Posts: 11487
United Kingdom
Re: Error on non-existant line
Reply #1 - Sep 18th, 2022 at 9:19pm
 
Please switch to Release and then show the output again.

If you continue to have an issue in release then zip and email this file along with a link to this post.

d:\Temp\VMBuilds\UBI8266\esp8266_espino\Release\UBI8266.cpp

Thanks

Back to top
 

Tim Leek
home
WWW  
IP Logged
 
Gu Lafontaine
Newbies
*
Offline



Posts: 4
Re: Error on non-existant line
Reply #2 - Sep 18th, 2022 at 9:37pm
 
Just sent the email
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11487
United Kingdom
Re: Error on non-existant line
Reply #3 - Sep 18th, 2022 at 10:34pm
 
Thanks, this is an issue generating the prototypes for these two methods.

Code (C++):
void AddLog(uint32_t loglevel, PGM_P formatP, ...)
void AddLog_P(uint32_t loglevel, PGM_P formatP, ...)
 



We will resolve over the next couple of days. In the meantime you can code in vs and use the arduino ide in "Fie>Preferences>External Editor" mode for the build.

We will update this thread when the update is available.
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
Gu Lafontaine
Newbies
*
Offline



Posts: 4
Re: Error on non-existant line
Reply #4 - Sep 18th, 2022 at 11:28pm
 
Thank you
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1459
Re: Error on non-existant line
Reply #5 - Sep 21st, 2022 at 1:30pm
 
We have released a fix for this in the latest version (22.09.05.9), which is available from the top of the board below:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

Please let us know if you encounter any further issues.
Back to top
 
 
IP Logged
 
Gu Lafontaine
Newbies
*
Offline



Posts: 4
Re: Error on non-existant line
Reply #6 - Sep 21st, 2022 at 3:03pm
 
Thanks for your prompt actions, appreciated
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print