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 Includes inside disabled code (Read 1272 times)
Germán Martín
Newbies
*
Offline


Posts: 8
Joined: Apr 6th, 2016
Includes inside disabled code
Aug 24th, 2018 at 10:52am
Print Post  
Hi,

After last update my code have compilation errors. I've noticed that compiler tries to include all files, even those defined inside disabled code.

I do multiplatform (ESP8266/Arduino/SAMD) libraries, so I have many #ifdef statements.

In order to compile successfully I have to comment invalid #include statements out, only on main file.

Using Arduino IDE it compiles without problem.

You can check my code on https://github.com/gmag11/WifiLocation

Regards
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Includes inside disabled code
Reply #1 - Aug 24th, 2018 at 1:13pm
Print Post  
Have you switch off "vmicro>compiler>deep search". It needs to be ON then your build will be slower but like arduino.
« Last Edit: Aug 24th, 2018 at 1:14pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint