Hi Thiago, at most the struct is defined, i think sometime there was even a fordward declare of the time function. Short version you have to take a different codepath if you need that for ce. Have a look in qdatetime.cpp. Basically you would use a system call to get the time in a different format and use qfunctions_wince.h to convert that to a time_t.
-- Björn Breitmeyer | [email protected] | Software Engineer KDAB (Deutschland) GmbH&Co KG, a KDAB Group company Germany: +49-30-521325470, Sweden (HQ): +46-563-540090 KDAB - Qt Experts - Platform-independent software solutions Am Mittwoch, 2. April 2014, 16:42:45 schrieb Thiago Macieira: > According to the C standard, 7.23.2.4: > > 7.23.2.4 The time function > Synopsis > #include <time.h> > time_t time(time_t *timer); > > The Linux manual says: > CONFORMING TO > SVr4, 4.3BSD, C89, C99, POSIX.1-2001. > > However, it's not working in https://codereview.qt-project.org/81697. The CI > says: > > main.cpp(110) : error C3861: 'time': identifier not found > http://testresults.qt-project.org/ci/QtBase_stable_Integration/build_03592/w > ince70embedded-armv4i-msvc2008_Windows_7/log.txt.gz > > What gives? Where is time() defined for WinCE?
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
