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 The other WIN32 compiler where the cast is not needed is MinGW: gcc version 3.4.2 (mingw-special) The problem lies in structure GCP_RESULTSW (defined in wingdi.h). Its lpClass field has the LPWSTR type with MinGW and the LPSTR type (I guess from error messages) with the Cygwin and Visual Studio compilers. It is also possible that more recent MinGW versions use also the LPSTR type. The LPWSTR type looks like a MinGW bug because the MS online doc http://msdn.microsoft.com/en-us/library/dd144842%28VS.85%29.aspx gives the LPSTR type to lpClass. 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
