Here I use the struct tm from <time.h> in CI try to map this date type to datetime in MySQL database, while encountered a gcc compiling failure. Code: #pragma db type("datetime") null struct tm finishedtime; How to slove this problem?