On 6/12/07, Eric Hughes <address@hidden> wrote:
As to some specific problems:
(i) ARRAYSIZE is already defined in a windows header. Wrapping its gnash
definition in #ifndef/#endif seems to fix the problem, since it has
essentially the same meaning. Personally, I'd rather see an inline
template function, which would be more type-safe, but I didn't consider it
a high enough priority to put in the requisite effort to all get the
details right.
So until then, I suggest just guarding the ARRAYSIZE definition with #ifndef _MSC_VER in the source.
(ii) Use the following definition for VC8:
# define __PRETTY_FUNCTION__ __FUNCDNAME__
__FUNCDNAME__ is the Microsoft-specific version of this. You can put this
in source or as a command line definition in the project file.
Is config.h included everywhere? If so, it would be natural to put this there.
I see your config.h has opengl as the renderer. I am more interested in the AGG renderer. Is it enough to just change the RENDERER_CONFIG definition?
I'll try to see how far I get with your hints.
Regards,
Asger