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 Error on non-existant line (Read 1545 times)
Gu Lafontaine
Newbies
*
Offline


Posts: 4
Joined: Aug 18th, 2022
Error on non-existant line
Sep 18th, 2022 at 7:14pm
Print Post  
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
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error on non-existant line
Reply #1 - Sep 18th, 2022 at 8:19pm
Print Post  
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
WWW  
IP Logged
 
Gu Lafontaine
Newbies
*
Offline


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


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

Code (C++)
Select All
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
WWW  
IP Logged
 
Gu Lafontaine
Newbies
*
Offline


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


Posts: 2145
Joined: Feb 13th, 2019
Re: Error on non-existant line
Reply #5 - Sep 21st, 2022 at 12:30pm
Print Post  
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
Joined: Aug 18th, 2022
Re: Error on non-existant line
Reply #6 - Sep 21st, 2022 at 2:03pm
Print Post  
Thanks for your prompt actions, appreciated
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint