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 pgm_read....broken in 1704.20.1 (Read 3564 times)
Lino
Newbies
*
Offline


Posts: 3
Joined: Apr 14th, 2017
pgm_read....broken in 1704.20.1
Apr 26th, 2017 at 12:50pm
Print Post  
the
Code (C++)
Select All
#define pgm_read_byte(address_short) void() 

(and similar ones) in .vsarduino.h are wrong.
it should be
Code (C++)
Select All
#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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: pgm_read....broken in 1704.20.1
Reply #1 - Apr 26th, 2017 at 12:57pm
Print Post  
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
« Last Edit: Apr 26th, 2017 at 12:58pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: pgm_read....broken in 1704.20.1
Reply #2 - Apr 29th, 2017 at 3:24pm
Print Post  
This should be resolved in the latest release

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


Posts: 3
Joined: Apr 14th, 2017
Re: pgm_read....broken in 1704.20.1
Reply #3 - May 2nd, 2017 at 8:46am
Print Post  
Tim@Visual Micro wrote on Apr 26th, 2017 at 12: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 TopicPrint