make errors on windows
I am running on windows having Msys2 installed as shell, when I try to run the make I get some errors.
lex.l:308:8: error: 'struct tm' has no member named 'tm_zone'
To solve this I tried to remove the following code from lex.l:
307 #if !defined(__CYGWIN__) && !defined(__sun)
308 tm.tm_zone = 0;
309 #endif
However I now get a new error when running make:
main.c:9:10: fatal error: regex.h: No such file or directory
I was hoping this was solved by adding a package to msys2 with the pacman installer, however there are no package with the name regex. How do I solve theese problems?
I would love to convert my windows CVS to something else and your tool seems to be the one that could help me.
Windows update: I have managed to fix the regex.h issue by installing libsystre like this:
pacman -S $MINGW_PACKAGE_PREFIX-libsystre
However this introduced another issue:
main.c:12:10: fatal error: sys/resource.h: No such file or directory
Edited by Kim Steinhaug