Compiling environment windows
Target compilation platform windows
Compilation tool mingw5.3
Error file test_ hdr.cpp
Error line 140 6. The error reason time function is not defined
srand(static_cast<unsigned>(time(0)));
Quote in the head
#include <sys/time.h>
Done
Similar Posts:
- [Solved] error: aggregate value used where an integer was expected
- [Solved] Go Gcc Compilation Error: gcc.exe fatal error no input files compilation terminated
- [Solved] cc1plus.exe: out of memory allocating bytes
- [Solved] sphelper.h Compile Error: error C4430/C2065/C2440/C2664
- Cannot find bounds of current function
- Java – Convert bytes to unsigned bytes
- arm-linux-gnueabihf-g++: error trying to exec ‘cc1plus’: execvp: No such file or directory
- invalid conversion from ‘void* (*)()’ to ‘void* (*)(void*)’
- [Solved] ./configure error: pr command not found
- Convert Object to List>, avoiding Unchecked cast: ‘java.lang.Object’ to ‘java.util.List