|
From: Tatsuro M. <tma...@ya...> - 2008-12-01 02:51:51
|
Hello
The below works well for gcc-3.4.5 (mingw) and gcc-4.3.0-tdm (mingw).
I do not understand why gcc-3.4.5 works with GD_NEED_LOCAL_FONT_POINTERS.
Regards
Tatsuro
$ diff -c -c org/gd.trm gd.trm
*** org/gd.trm Tue Nov 25 16:46:59 2008
--- gd.trm Mon Dec 1 11:42:43 2008
***************
*** 150,156 ****
#if defined(WIN32) && !defined(NONDLL)
/* static font pointers are recommended when using bgd.dll */
# ifndef GD_NEED_LOCAL_FONT_POINTERS
! # define GD_NEED_LOCAL_FONT_POINTERS
# endif
#endif
--- 150,158 ----
#if defined(WIN32) && !defined(NONDLL)
/* static font pointers are recommended when using bgd.dll */
# ifndef GD_NEED_LOCAL_FONT_POINTERS
! # ifndef __MINGW32__
! # define GD_NEED_LOCAL_FONT_POINTERS
! # endif
# endif
#endif
--- Tatsuro MATSUOKA <tma...@ya...> wrote:
> Hello Ethan
>
> --- Ethan A Merritt <merritt@u.washington.edu> wrote:
>
> > #if defined(WIN32) && !defined(NONDLL)
> > /* static font pointers are recommended when using bgd.dll */
> > # ifndef GD_NEED_LOCAL_FONT_POINTERS
> > # define GD_NEED_LOCAL_FONT_POINTERS
> > # endif
> > #endif
> >
>
> Mmmmm!
> What you said is reasonable.
>
> The problem seems that
>
> #if defined(WIN32) && !defined(NONDLL)
>
> does not work correct for gcc-4.3.0 tdm.
>
> I will look around the origin of anomalous behaviors.
>
> Thanks
>
> Tatsuro
>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
|