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 Errors (Read 3004 times)
stech
Newbies
*
Offline


Posts: 2
Joined: Sep 30th, 2016
Compiler Errors
Sep 30th, 2016 at 10:07am
Print Post  
Hey,

There seem to be a bug with VisualMicro, and FeatherM0, certain macros and functions:

Macros:

_EXFUN

Following functions:

atol()
atof()
strtok()
sin()
cos()

and probably more.

The IDE (VS2015 with VisualMicro) gives the following error: "too many arguments in a function call" when calling one of the above functions with anything other than empty parameters.

If you change to another board (Arduino UNO) in the settings the error disapears.

The setup we have is:

Visual Studio 2015
Visual Micro 1609.20.0
Feather M0

Any help will be greatly appreciated.
« Last Edit: Sep 30th, 2016 at 10:08am by stech »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler Errors
Reply #1 - Sep 30th, 2016 at 11:47am
Print Post  
Are you talking about compiler or intellisense errors? The two tings are unconnected.
« Last Edit: Sep 30th, 2016 at 11:47am by Tim@Visual Micro »  
Back to top
IP Logged
 
stech
Newbies
*
Offline


Posts: 2
Joined: Sep 30th, 2016
Re: Compiler Errors
Reply #2 - Oct 5th, 2016 at 7:09am
Print Post  
I am talking about compiler errors.

The project will not compile. The error that it gives I have described below. 

However, there are also intellisense errors on top of it.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler Errors
Reply #3 - Oct 5th, 2016 at 12:38pm
Print Post  
Okay sounds like a config issue.

Please switch on vmicro>compiler>verbose then click re-build, then post the output as a .txt file or email to info[at]visualmicro.com with link to this post

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