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 Not a noob question but is a dumb question (Read 2447 times)
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Not a noob question but is a dumb question
Aug 15th, 2014 at 4:03am
Print Post  
This
#include <nosuchfile.h>
yields no compiler error ... why not?
but 
#include "nosuchfile.h"
does error.

Does VS/VM in the goofy Arduino scheme for headers and automatic function prototypes follow the traditional C conventions where brackets use system search paths and quotes search only the user space directories.

I'm going nuts on why uint8_t et all as class method function params do not work without a typedef for uint8_t, but same project other files classes it does compile properly.

« Last Edit: Aug 15th, 2014 at 4:05am by stevech »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not a noob question but is a dumb question
Reply #1 - Aug 15th, 2014 at 2:21pm
Print Post  
Sorry not sure of the answer. Visual Micro just calls the respective toolchain to perform the compilation. You can see what it does when you click "Tools>Visual Micro>Verbose Messages". 

It's possible for you to grab the build command and run the same thing from a .bat file so this shows how little control Visual Micro has.

You will also see the .cpp temp files in the build folder. 

There is no more to the build process that these physical files.

I hope this helps in some way
  
Back to top
IP Logged
 
stevech
Member
***
Offline


Posts: 147
Location: So. Calif. US
Joined: Jun 16th, 2013
Re: Not a noob question but is a dumb question
Reply #2 - Aug 20th, 2014 at 11:24pm
Print Post  
further... I think Arduino 1.0.x tells the compiler to ignore missing include files when using the <somefile.h> brackets. And it tells the compiler to error out if the same file name is in quotes ""

In non-Arduino C, brackets:<> means search standard libraries' directories and quotes:"" means search in user's directory. I wonder.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint