DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2622
Version: 1.3-current


wow! trying to keep up-to-speed with your instent answers! (I don't allways
have internet access).
gcc --version gives this:
gcc (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

but as I noted, I have specified in the configure options to compile with
the mingw cross compiler (for native windows executables) rather then the
"native" cygwin gcc, so i686-w64-mingw32-gcc --version outputs:
i686-w64-mingw32-gcc (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
(not really different, just to make clear I'm using mingw).

as for wingdi.h, in /usr/i686-w64-mingw32/sys-root/mingw/include/wingdi.h
it's:
typedef struct tagGCP_RESULTSW {
    DWORD lStructSize;
    LPWSTR lpOutString;
    UINT *lpOrder;
    int *lpDx;
    int *lpCaretPos;
    LPSTR lpClass;
    LPWSTR lpGlyphs;
    UINT nGlyphs;
    int nMaxFit;
  } GCP_RESULTSW,*LPGCP_RESULTSW;

  __MINGW_TYPEDEF_AW(GCP_RESULTS)
  __MINGW_TYPEDEF_AW(LPGCP_RESULTS)

in /usr/include/w32api/wingdi.h it's:
typedef struct tagGCP_RESULTSW {
        DWORD lStructSize;
        LPWSTR lpOutString;
        UINT *lpOrder;
        INT *lpDx;
        INT *lpCaretPos;
        LPWSTR lpClass;
        LPWSTR lpGlyphs;
        UINT nGlyphs;
        UINT nMaxFit;
} GCP_RESULTSW,*LPGCP_RESULTSW;

in /usr/x86_64-w64-mingw32/sys-root/mingw/include/wingdi.h it's:
typedef struct tagGCP_RESULTSW {
    DWORD lStructSize;
    LPWSTR lpOutString;
    UINT *lpOrder;
    int *lpDx;
    int *lpCaretPos;
    LPSTR lpClass;
    LPWSTR lpGlyphs;
    UINT nGlyphs;
    int nMaxFit;
  } GCP_RESULTSW,*LPGCP_RESULTSW;

  __MINGW_TYPEDEF_AW(GCP_RESULTS)
  __MINGW_TYPEDEF_AW(LPGCP_RESULTS)


I'm not clear which one the compiler is using, that's why I attached the
makeinclude file. (the README.MSWindows.txt states that with the mingw
option on cygwin "you may need to edit
some lines in the generated makeinclude file", but I didn't found any
guidence on what and how, and I can't figure out myself being far from a
developer).
I will try now with patch3 and post results when there will be.
thanks you all!


Link: http://www.fltk.org/str.php?L2622
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to