MinGW compile: error in gerb_file.c:111:27
Brought to you by:
spetm,
thepurlieu
Building gerbv-2.7.0 on MinGW brings up one error:
gerb_file.c:111:27: error: macro "g_new" requires 2 arguments, but only 1 given
fd = g_new(gerb_file_t);
^
Changing line 111 to
fd = g_new(gerb_file_t, 1);
(hope it's right) solves this error, making gerbv compile without errors.
I've attached the resulting gerbv.exe (Win64/pe) for those guys who failed to do so. But, sorry, without dxflib, still some work to do.