Can I make this change (enum macros colliding with guile macros)
Christian Stimming
stimming at tuhh.de
Thu Jun 3 16:24:46 EDT 2010
Am Thursday 03 June 2010 schrieb Geert Janssens:
> I looked a little closer at the problem.
>
> The Windows API headers declare DATE with this statement:
> typedef double DATE;
aaaaaaarg...
> So #undef'ing won't help us here.
Right.
(Still needing to relieve from an OS header that has this brilliant idea to
use a common typedef name like "DATE" for something as intuitive as a
double...)
> On Wednesday 2 June 2010, Derek Atkins wrote:
> > HOWEVER, note that this will invalidate all existing check formats! So
> > it's a non-backwards-compatible interface format.
> >
> > Is there some way we can get guile not to #include windows includes?
>
> I explored this option a little deeper. It looks like I can indeed avoid
> the windows includes by patching one of the guile headers.
>
> I'm still waiting for the build to finish to see if it worked, but so far
> guile was compiled successfully with this patch.
Sounds good, and thanks for the research!
Christian
More information about the gnucash-devel
mailing list