Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
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....
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
pgm_read....broken in 1704.20.1 (Read 2163 times)
Lino
Newbies
*
Offline



Posts: 3
pgm_read....broken in 1704.20.1
Apr 26th, 2017 at 1:50pm
 
the
Code (C++):
#define pgm_read_byte(address_short) void() 

(and similar ones) in .vsarduino.h are wrong.
it should be
Code (C++):
#define pgm_read_byte(address_short) byte() 

or you get
Quote:
E0513 a value of type "void" cannot be assigned to an entity of type "byte"
and
Quote:
E2138 expression must have arithmetic or unscoped enum type
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10467
United Kingdom
Re: pgm_read....broken in 1704.20.1
Reply #1 - Apr 26th, 2017 at 1:57pm
 
Hi

That's an intellisense error, the build should be okay?

It's also important to say which board and board package or arduino ide version you are using when making reports.

Visual Micro can't affect the core c++ but can correct any intellisense issues in vsarduino.h. so we can look at that when we now what you are using.

Thanks
Back to top
« Last Edit: Apr 26th, 2017 at 1:58pm by Visual Micro »  
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10467
United Kingdom
Re: pgm_read....broken in 1704.20.1
Reply #2 - Apr 29th, 2017 at 4:24pm
 
This should be resolved in the latest release

Thanks for the report.
Back to top
 
WWW  
IP Logged
 
Lino
Newbies
*
Offline



Posts: 3
Re: pgm_read....broken in 1704.20.1
Reply #3 - May 2nd, 2017 at 9:46am
 
Visual Micro wrote on Apr 26th, 2017 at 1:57pm:
That's an intellisense error, the build should be okay?

Yes, it was an intellisense error.
Sorry for the late reply but I don't get a notification via email when someone replies to my posts.
Gotta search if there's an option somewhere here in the forum.
Anyway..I can confirm it has been fixed on my end with the 30.apr release.
thanks.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print