with gcc-arm-none-eabi-7-2017-q4-major the default typedef of time_t is "long long int". older releases typedef time_t as "long int". mbed lib cannot handle this correctly This applies to exported projects as "GCC (ARM-Embedded)"
Fork of USBSerial_HelloWorld by
Diff: main.cpp
- Revision:
- 5:ee94acbf45df
- Parent:
- 4:95c491d36524
- Child:
- 6:aef06cd11ce4
--- a/main.cpp Thu Nov 17 12:01:22 2011 +0000 +++ b/main.cpp Thu Nov 17 16:36:10 2011 +0000 @@ -10,7 +10,7 @@ while(1) { - serial.print("I am a virtual serial port!\r\n"); + serial.printf("I am a virtual serial port!\r\n"); wait(1); } }