Time t = GetSysTime();
cc << " -DbmYEAR=" << (int)t.year;
cc << " -DbmMONTH=" << (int)t.month;
cc << " -DbmDAY=" << (int)t.day;
cc << " -DbmHOUR=" << (int)t.hour;
cc << " -DbmMINUTE=" << (int)t.minute;
cc << " -DbmSECOND=" << (int)t.second;
What is role of these defines? When I use precompiled header, compiler produses warnings, that defines are changed.
Is it possible to remove them? For build date/time there are __DATE__ and __TIME__.
Well, if you would like to get e.g. Date, you would have to parse __DATE__. This way you can directly use Date constructor...