Compiling: dll.cpp
C:\...\demo\demo\dll.cpp: In constructor 'log_creator::log_creator()':
C:\...\demo\demo\dll.cpp:14: warning: deprecated conversion from string constant to 'char*'
C:\...\demo\demo\dll.cpp: In member function 'void log_creator::log(char*)':
C:\...\demo\demo\dll.cpp:33: error: 'time' was not declared in this scope
C:\...\demo\demo\dll.cpp:36: error: 'localtime' was not declared in this scope
C:\...\demo\demo\dll.cpp:37: error: 'strftime' was not declared in this scope
C:\...\demo\demo\dll.cpp: In member function 'void log_creator::log(std::string&)':
C:\...\demo\demo\dll.cpp:54: error: 'time' was not declared in this scope
C:\...\demo\demo\dll.cpp:57: error: 'localtime' was not declared in this scope
C:\...\demo\demo\dll.cpp:58: error: 'strftime' was not declared in this scope
C:\...\demo\demo\dll.cpp: In member function 'void log_creator::open_log(char*)':
C:\...\demo\demo\dll.cpp:74: warning: deprecated conversion from string constant to 'char*'
C:\...\demo\demo\dll.cpp: In member function 'void log_creator::close_log()':
C:\...\demo\demo\dll.cpp:84: warning: deprecated conversion from string constant to 'char*'
Process terminated with status 1 (0 minutes, 0 seconds)
6 errors, 3 warnings