#ifndef GELLO_H#define GELLO_H#include <QTime>#include <QString>#include <QTime>#include <QDebug>void log(QString data){qDebug() << QTime::currentTime().toString("hh:mm:ss.zzz");}#endif
1>c:\qt\qt5.3.1\5.3\msvc2010_opengl\include\qtcore\qdatetime.h(122): warning C4003: not enough actual parameters for macro 'min'1>c:\qt\qt5.3.1\5.3\msvc2010_opengl\include\qtcore\qdatetime.h(122): error C2589: '(' : illegal token on right side of '::'1>c:\qt\qt5.3.1\5.3\msvc2010_opengl\include\qtcore\qdatetime.h(122): error C2059: syntax error : '::'1>c:\qt\qt5.3.1\5.3\msvc2010_opengl\include\qtcore\qdatetime.h(122): warning C4003: not enough actual parameters for macro 'min'1>c:\qt\qt5.3.1\5.3\msvc2010_opengl\include\qtcore\qdatetime.h(122): error C2589: '(' : illegal token on right side of '::'1>c:\qt\qt5.3.1\5.3\msvc2010_opengl\include\qtcore\qdatetime.h(122): error C2059: syntax error : '::'
C++ (Qt)#ifdef min#undef min#endif
C++ (Qt)#include <QTime>#include <QString>#include <QTime>