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 I have been using Mega2560 until now, but now I changing to Due. Gives error: 'time_t' (Read 2159 times)
Marreoragarn
Newbies
*
Offline


Posts: 5
Joined: Mar 17th, 2016
I have been using Mega2560 until now, but now I changing to Due. Gives error: 'time_t'
Mar 17th, 2016 at 9:02am
Print Post  
I have been using Mega2560 until now, but now I changing to Due.
When I compile it complains about  this:
Severity      Code      Description      Project      File      Line
Error            122:18: error: 'time_t' has a previous declaration as 'typedef long int time_t            \4.8.3-2014q1\arm-none-eabi\include\sys\types.h      122

 
It seems that time_t does not like to be re declared. Anyone know how to fix this?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: I have been using Mega2560 until now, but now I changing to Due. Gives error: 'time_t'
Reply #1 - Mar 17th, 2016 at 2:59pm
Print Post  
Which arduino ide and which libraries are you using (downloaded from where and when)
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint