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 compiler optimization problem (Read 828 times)
Evgeny Zhekaus
Junior Member
**
Offline


Posts: 37
Joined: Sep 19th, 2018
compiler optimization problem
Nov 22nd, 2020 at 4:52pm
Print Post  
I think I have some kind of compiler optimization problem.
If I add a particular shared code project to the current solution, I lost about 250 bytes of program size. However, actually, I haven’t used any feature of this library yet. This is wrong I believe.

What should I check in my environment?
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: compiler optimization problem
Reply #1 - Nov 22nd, 2020 at 10:13pm
Print Post  
Thanks for the report.

Would it be possible to supply us with the build log from your project, with the "Verbose" and "Show Build Properties" options set, as shown in the box at the top of this page?

A copy of this log without the Shared Project, and with the Shared Project would also be useful for comparison.

If it is also possible to attach, or email to us a zipped copy of the project it would help greatly with investigation.
  
Back to top
 
IP Logged
 
Evgeny Zhekaus
Junior Member
**
Offline


Posts: 37
Joined: Sep 19th, 2018
Re: compiler optimization problem
Reply #2 - Feb 24th, 2021 at 3:49pm
Print Post  
Howdy,
Here is my build log attached.

So, I've got .ino file with empty setup and loop functions only with, 3 shared libraries activated but not included,
And... the program size is already 1424, instead of 444.
« Last Edit: Feb 24th, 2021 at 3:50pm by Evgeny Zhekaus »  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: compiler optimization problem
Reply #3 - Feb 24th, 2021 at 4:46pm
Print Post  
Would it also be possible to attach the log showing the 444 size build (without shared library inclusion)?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint