10 years, 1 month ago.

Error 734?

Error: Function "time(std::time_t *)" conflicts with using-declaration of function "std::time(std::time_t *)" in "mbed-src/common/rtc_time.c", Line: 28, Col: 8

Question relating to:

3 Answers

9 years, 10 months ago.

I have this same error compiling the mbded NXP LPC1768. I was compiling the hello world project.

  1. include "mbed.h"

DigitalOut myled(LED1);

int main() { while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); } }

I just received this package from spark fun and was following the setup guide.

Did you try to update the mbed.lib. Right click on the lib in the program folder and select update.

Use <<code>> and <</code>> tags around your posted code to keep it readable.

#include "mbed.h"
DigitalOut myled(LED1);

int main() {
  while(1) { 
    myled = 1;
    wait(0.2);
    myled = 0;
    wait(0.2); 
  }
}
posted by Wim Huiskamp 01 Jan 2015
10 years, 1 month ago.

Hi,

we need more information to reproduce this. If it's confirmed, it should be added to github issues (mbed SDK repository).

Regards,
0xc0170

9 years, 10 months ago.

I also have the same error

Quote:

Hi,

we need more information to reproduce this. If it's confirmed, it should be added to github issues (mbed SDK repository).

Regards, 0xc0170

posted by Erik - 06 Jan 2015

the mbed library version? Target?

posted by Martin Kojtal 06 Jan 2015

I import this code (http://developer.mbed.org/users/astroboy/code/CoOS_LWIP/) and go for compile.I got an error Error: Function "time(std::time_t *)" conflicts with using-declaration of function "std::time(std::time_t *)" in "mbed-src/common/rtc_time.c", Line: 28, Col: 8

posted by nilesh thakare 06 Jan 2015