Getting gnu_regex to compile with VC++ 2005
Exuberant Ctags can use gnu_regex for win32, but the version floating around is terribly out of date and needs a few changes to work with the latest copy of visual studio. Here are links to the files I had to change to make things compile.
regex.c – I actually got this from http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1651.
It looks like they changed two things:
- printchar is no longer an extern
- errcode was changed to errcode_vc since it’s a system global
test_gnu_regex.mak – removed all un-needed dll’s (all except kernel32.dll)