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


My MinGW version:
$ gcc --version
gcc.exe (GCC) 3.4.2 (mingw-special)

#define __W32API_VERSION 3.6

We have
 1) LPSTR lpClass; with Visual Studio and some868one's CygWin
 2) LPWSTR lpClass; with (yours and mine) MinGW and with your CygWin

I have seen that trying this
    gcp_res.lpClass = (void*)c_buff;
creates a compilation error with MinGW.

I agree we should define c_buff to be an LPSTR, but the problem 
remains the same: how to initialize a variable that has a 
different type depending on the used compiler ?

I don't see how to distinguish between some868one's and our
compilers with #ifdef's because both have __GNUC__ true and 
__CYGWIN__ false.


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