Came home and ran make again to reproduce the error. Weirdly it gets much farther now before failing on the same error but in a different file. I then did as you suggested here:

> You want this:

> g++ -DHAVE_CONFIG_H -I. -I./src -I/usr/local/lilb/wx/include/
> msw-unicode-release-static-2.8 -I/usr/local/include/wx-2.8 -D__WXMSW__ > -mthreads -I. -Wall O2 -MT ./src/gfx/magicseteditor-resample_text.o -MD > -MP -MF ./src/gfx/.deps/magicseteditor-resample_text.Tpo -E -o junk `test > -f './src/gfx/resample_text.cpp' || echo './'`./src/gfx/resample_text.cpp

but with the file ./src/gui/magicseteditor-util in place of ./src/gfx/magicseteditor-resample_text.

The resulting file "junk" contains a bit over a hundred thousand lines. What am I looking for?

I searched for wingdi.h and found five occurrences. Here are the first three:

# 1 "h:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/wingdi.h" 1 3
# 6 "h:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/wingdi.h" 3
extern "C" {
# 1338 "h:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/wingdi.h" 3
typedef struct _ABC {
 int abcA;
 UINT abcB;
 int abcC;
} ABC,*LPABC;
... many lines ...

The fourth:
# 2693 "h:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/wingdi.h" 3

and the fifth:
# 3233 "h:\\mingw\\bin\\../lib/gcc/mingw32/4.7.2/../../../../include/wingdi.h" 3

What am I looking for?

(Apologies for inadvertently sending previous message to Eli only. Eli, you CCed the list so when I hit 'reply' it only went to you)