Thanks for reporting. Unfortunately I haven't an OS X box at hand atm to reproduce the problem.

Is this about trunk or the state of the latest release (tag tdom-0-9-1)?

Both trunk and the lastest release build for me on linux with gcc and clang (I've clang version 3.8.1-24 - is this in fact that much older than yours as the version nummers suggest?) without problems (or even warnings, at least for trunk) and it builds for me on windows (w/ mingw).

From the reported error msg and looking at the sources nothing obvious strikes me.

I'm in need for your help, to track this down.