estou compilando harbour 3.4 + LLVM/CLANG
Cola o texto usando [code].
Aqui com GCC 7.3 está ok.
Saudações,
Itamar M. Lins Jr.

Moderador: Moderadores
estou compilando harbour 3.4 + LLVM/CLANG
c /cmd hwgui_all.hbp
d:\github\allgui\hwgui>d:\cdrom\FONTES\build\build.exe /cmd hwgui_all.hbp
d:\github\allgui\hwgui>HBMK2 hwgui_all.hbp hwgui.hbc -m -n -workdir=c:\temp -compr -strip -mt -quiet -q -ge1 -Id:\cdrom\FONTES\build\
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_VERSION':
d:/github/allgui/hwgui/source/winapi/freeimg.c:230:33: warning: cast between incompatible function types from 'FARPROC' to 'char * (__attribute__((stdcall)) *)(void)' [-Wcast-function-type]
FREEIMAGE_GETVERSION pFunc = ( FREEIMAGE_GETVERSION ) s_getFunction( NULL,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_UNLOAD':
d:/github/allgui/hwgui/source/winapi/freeimg.c:239:46: warning: cast between incompatible function types from 'FREEIMAGE_UNLOAD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_UNLOAD ) s_getFunction( ( FARPROC ) pUnload,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:239:10: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_UNLOAD ) s_getFunction( ( FARPROC ) pUnload,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_LOAD':
d:/github/allgui/hwgui/source/winapi/freeimg.c:249:44: warning: cast between incompatible function types from 'FREEIMAGE_LOAD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_LOAD ) s_getFunction( ( FARPROC ) pLoad,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:249:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FREE_IMAGE_FORMAT, const char *, int)' [-Wcast-function-type]
( FREEIMAGE_LOAD ) s_getFunction( ( FARPROC ) pLoad,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_LOADTYPE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:271:44: warning: cast between incompatible function types from 'FREEIMAGE_LOAD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_LOAD ) s_getFunction( ( FARPROC ) pLoad,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:271:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FREE_IMAGE_FORMAT, const char *, int)' [-Wcast-function-type]
( FREEIMAGE_LOAD ) s_getFunction( ( FARPROC ) pLoad,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_GETIMAGETYPE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:355:52: warning: cast between incompatible function types from 'FREEIMAGE_GETIMAGETYPE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:355:10: warning: cast between incompatible function types from 'FARPROC' to 'short int (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_2BITMAP':
d:/github/allgui/hwgui/source/winapi/freeimg.c:368:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:368:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:371:47: warning: cast between incompatible function types from 'FREEIMAGE_GETINFO' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:371:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFO * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:374:53: warning: cast between incompatible function types from 'FREEIMAGE_GETINFOHEADER' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFOHEADER ) s_getFunction( ( FARPROC ) pGetinfoHead,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:374:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFOHEADER * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFOHEADER ) s_getFunction( ( FARPROC ) pGetinfoHead,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_FI2DIB':
d:/github/allgui/hwgui/source/winapi/freeimg.c:480:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:480:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'SET_FREEIMAGE_MARKER':
d:/github/allgui/hwgui/source/winapi/freeimg.c:508:52: warning: cast between incompatible function types from 'FREEIMAGE_GETIMAGETYPE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:508:10: warning: cast between incompatible function types from 'FARPROC' to 'short int (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_FI2DIBEX':
d:/github/allgui/hwgui/source/winapi/freeimg.c:537:53: warning: cast between incompatible function types from 'FREEIMAGE_GETINFOHEADER' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFOHEADER ) s_getFunction( ( FARPROC ) pGetinfoHead,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:537:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFOHEADER * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFOHEADER ) s_getFunction( ( FARPROC ) pGetinfoHead,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:540:47: warning: cast between incompatible function types from 'FREEIMAGE_GETINFO' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:540:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFO * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:543:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:543:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:546:50: warning: cast between incompatible function types from 'FREEIMAGE_GETPALETTE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETPALETTE ) s_getFunction( ( FARPROC ) pGetPalette,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:546:10: warning: cast between incompatible function types from 'FARPROC' to 'RGBQUAD * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETPALETTE ) s_getFunction( ( FARPROC ) pGetPalette,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:549:52: warning: cast between incompatible function types from 'FREEIMAGE_GETIMAGETYPE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:549:10: warning: cast between incompatible function types from 'FARPROC' to 'short int (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_DRAW':
d:/github/allgui/hwgui/source/winapi/freeimg.c:630:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:630:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:633:47: warning: cast between incompatible function types from 'FREEIMAGE_GETINFO' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:633:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFO * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_BMP2FI':
d:/github/allgui/hwgui/source/winapi/freeimg.c:655:51: warning: cast between incompatible function types from 'FREEIMAGE_ALLOCATE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:655:13: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(int, int, int, unsigned int, unsigned int, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:658:50: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:658:13: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:661:50: warning: cast between incompatible function types from 'FREEIMAGE_GETINFO' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:661:13: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFO * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_DIB2FI':
d:/github/allgui/hwgui/source/winapi/freeimg.c:735:61: warning: cast between incompatible function types from 'FREEIMAGE_CONVERTFROMRAWBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_CONVERTFROMRAWBITS ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:735:13: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(BYTE *, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, BOOL)' [-Wcast-function-type]
( FREEIMAGE_CONVERTFROMRAWBITS ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:738:53: warning: cast between incompatible function types from 'FREEIMAGE_GETPALETTE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETPALETTE ) s_getFunction( ( FARPROC ) pGetPalette,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:738:13: warning: cast between incompatible function types from 'FARPROC' to 'RGBQUAD * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETPALETTE ) s_getFunction( ( FARPROC ) pGetPalette,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_RESCALE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:791:47: warning: cast between incompatible function types from 'FREEIMAGE_RESCALE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_RESCALE ) s_getFunction( ( FARPROC ) pRescale,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:791:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *, int, int, FREE_IMAGE_FILTER)' [-Wcast-function-type]
( FREEIMAGE_RESCALE ) s_getFunction( ( FARPROC ) pRescale,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_REMOVECHANNEL':
d:/github/allgui/hwgui/source/winapi/freeimg.c:806:48: warning: cast between incompatible function types from 'FREEIMAGE_ALLOCATE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:806:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(int, int, int, unsigned int, unsigned int, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:818:46: warning: cast between incompatible function types from 'FREEIMAGE_UNLOAD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_UNLOAD ) s_getFunction( ( FARPROC ) pUnload,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:818:10: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_UNLOAD ) s_getFunction( ( FARPROC ) pUnload,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_LOADFROMMEM':
d:/github/allgui/hwgui/source/winapi/freeimg.c:886:54: warning: cast between incompatible function types from 'FREEIMAGE_LOADFROMHANDLE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_LOADFROMHANDLE ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:886:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FREE_IMAGE_FORMAT, FreeImageIO *, void *, int)' [-Wcast-function-type]
( FREEIMAGE_LOADFROMHANDLE ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_ROTATECLASSIC':
d:/github/allgui/hwgui/source/winapi/freeimg.c:929:53: warning: cast between incompatible function types from 'FREEIMAGE_ROTATECLASSIC' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_ROTATECLASSIC ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:929:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *, double)' [-Wcast-function-type]
( FREEIMAGE_ROTATECLASSIC ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_SETDOTSPERMETERX':
d:/github/allgui/hwgui/source/winapi/freeimg.c:959:56: warning: cast between incompatible function types from 'FREEIMAGE_SETDOTSPERMETERX' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_SETDOTSPERMETERX ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:959:10: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(FIBITMAP *, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_SETDOTSPERMETERX ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_SETDOTSPERMETERY':
d:/github/allgui/hwgui/source/winapi/freeimg.c:971:56: warning: cast between incompatible function types from 'FREEIMAGE_SETDOTSPERMETERY' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_SETDOTSPERMETERY ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:971:10: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(FIBITMAP *, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_SETDOTSPERMETERY ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_ALLOCATE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:985:48: warning: cast between incompatible function types from 'FREEIMAGE_ALLOCATE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:985:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(int, int, int, unsigned int, unsigned int, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_COPY':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1011:44: warning: cast between incompatible function types from 'FREEIMAGE_COPY' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_COPY ) s_getFunction( ( FARPROC ) pCopy,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1011:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *, int, int, int, int)' [-Wcast-function-type]
( FREEIMAGE_COPY ) s_getFunction( ( FARPROC ) pCopy,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_GETBITS':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1045:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1045:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_CONVERTTO8BITS':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1054:54: warning: cast between incompatible function types from 'FREEIMAGE_CONVERTTO8BITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_CONVERTTO8BITS ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1054:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_CONVERTTO8BITS ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_CONVERTTOGREYSCALE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1063:58: warning: cast between incompatible function types from 'FREEIMAGE_CONVERTTOGREYSCALE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_CONVERTTOGREYSCALE ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1063:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_CONVERTTOGREYSCALE ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_THRESHOLD':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1072:49: warning: cast between incompatible function types from 'FREEIMAGE_THRESHOLD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_THRESHOLD ) s_getFunction( ( FARPROC ) pThreshold,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1072:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *, BYTE)' [-Wcast-function-type]
( FREEIMAGE_THRESHOLD ) s_getFunction( ( FARPROC ) pThreshold,
^
d:/github/allgui/hwgui/contrib/ext_controls/theme.c: In function 'hb_OpenThemeData':
d:/github/allgui/hwgui/contrib/ext_controls/theme.c:709:10: warning: cast between incompatible function types from 'void * (*)(struct HWND__ *, const WCHAR *)' {aka 'void * (*)(struct HWND__ *, const short unsigned int *)'} to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FARPROC ) OpenThemeDataFail );
^
d:/github/allgui/hwgui/contrib/ext_controls/theme.c:708:10: warning: cast between incompatible function types from 'FARPROC' to 'void * (__attribute__((stdcall)) *)(struct HWND__ *, const WCHAR *)' [-Wcast-function-type]
( PFNOPENTHEMEDATA ) GetProc( "OpenThemeData",
^
d:/github/allgui/hwgui/contrib/ext_controls/theme.c: In function 'hb_GetThemeSysColorBrush':
d:/github/allgui/hwgui/contrib/ext_controls/theme.c:994:10: warning: cast between incompatible function types from 'struct HBRUSH__ * (*)(void *, int)' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FARPROC ) GetThemeSysColorBrushFail );
^
d:/github/allgui/hwgui/contrib/ext_controls/theme.c:993:10: warning: cast between incompatible function types from 'FARPROC' to 'struct HBRUSH__ * (__attribute__((stdcall)) *)(void *, int)' [-Wcast-function-type]
( PFNGETTHEMESYSCOLORBRUSH ) GetProc( "GetThemeSysColorBrush",
^
d:/github/allgui/hwgui/contrib/ext_controls/theme.c: In function 'hb_GetWindowTheme':
d:/github/allgui/hwgui/contrib/ext_controls/theme.c:1059:10: warning: cast between incompatible function types from 'void * (*)(struct HWND__ *)' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FARPROC ) GetWindowThemeFail );
^
d:/github/allgui/hwgui/contrib/ext_controls/theme.c:1058:10: warning: cast between incompatible function types from 'FARPROC' to 'void * (__attribute__((stdcall)) *)(struct HWND__ *)' [-Wcast-function-type]
( PFNGETWINDOWTHEME ) GetProc( "GetWindowTheme",
^
d:/github/allgui/hwgui/contrib/ext_controls/theme.c: In function 'hb_SetThemeAppProperties':
d:/github/allgui/hwgui/contrib/ext_controls/theme.c:1092:10: warning: cast between incompatible function types from 'void (*)(DWORD)' {aka 'void (*)(long unsigned int)'} to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FARPROC ) SetThemeAppPropertiesFail );
^
d:/github/allgui/hwgui/contrib/ext_controls/theme.c:1091:10: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(DWORD)' [-Wcast-function-type]
( PFNSETTHEMEAPPPROPERTIES ) GetProc( "SetThemeAppProperties",
^
d:/github/allgui/hwgui/contrib/qhtm/hwg_qhtm.c: In function 'HB_FUN_QHTM_PRINTDESTROYCONTEXT':
d:/github/allgui/hwgui/contrib/qhtm/hwg_qhtm.c:411:13: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(QHTMCONTEXT)' [-Wcast-function-type]
( QHTM_PRINTDESTROYCONTEXT ) GetProcAddress( s_hQhtmDll,
^
Itamar M. Lins Jr. escreveu:Cola o texto usando
Aqui com GCC 7.3 está ok.
../../../../contrib/misc/arr2str.c: In function 'ArrayMemoSize':
../../../../contrib/misc/arr2str.c:118:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
if( HB_DBL_LIM_INT32( dVal ) )
^
../../../../contrib/misc/arr2str.c:124:10: note: here
case HB_IT_DOUBLE:
^~~~
../../../../contrib/misc/arr2str.c: In function 'WriteArray':
../../../../contrib/misc/arr2str.c:192:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
if( HB_DBL_LIM_INT32( dVal ) )
^
../../../../contrib/misc/arr2str.c:201:10: note: here
case HB_IT_DOUBLE:
^~~~
HBMK2 *.hbp -rebuild hwgui.hbc -m -n -workdir=c:\temp -compr -strip -mt -quiet -q -ge1 -Id:\cdrom\FONTES\build\
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_VERSION':
d:/github/allgui/hwgui/source/winapi/freeimg.c:230:33: warning: cast between incompatible function types from 'FARPROC' to 'char * (__attribute__((stdcall)) *)(void)' [-Wcast-function-type]
FREEIMAGE_GETVERSION pFunc = ( FREEIMAGE_GETVERSION ) s_getFunction( NULL,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_UNLOAD':
d:/github/allgui/hwgui/source/winapi/freeimg.c:239:46: warning: cast between incompatible function types from 'FREEIMAGE_UNLOAD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_UNLOAD ) s_getFunction( ( FARPROC ) pUnload,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:239:10: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_UNLOAD ) s_getFunction( ( FARPROC ) pUnload,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_LOAD':
d:/github/allgui/hwgui/source/winapi/freeimg.c:249:44: warning: cast between incompatible function types from 'FREEIMAGE_LOAD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_LOAD ) s_getFunction( ( FARPROC ) pLoad,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:249:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FREE_IMAGE_FORMAT, const char *, int)' [-Wcast-function-type]
( FREEIMAGE_LOAD ) s_getFunction( ( FARPROC ) pLoad,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_LOADTYPE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:271:44: warning: cast between incompatible function types from 'FREEIMAGE_LOAD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_LOAD ) s_getFunction( ( FARPROC ) pLoad,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:271:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FREE_IMAGE_FORMAT, const char *, int)' [-Wcast-function-type]
( FREEIMAGE_LOAD ) s_getFunction( ( FARPROC ) pLoad,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_GETIMAGETYPE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:355:52: warning: cast between incompatible function types from 'FREEIMAGE_GETIMAGETYPE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:355:10: warning: cast between incompatible function types from 'FARPROC' to 'short int (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_2BITMAP':
d:/github/allgui/hwgui/source/winapi/freeimg.c:368:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:368:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:371:47: warning: cast between incompatible function types from 'FREEIMAGE_GETINFO' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:371:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFO * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:374:53: warning: cast between incompatible function types from 'FREEIMAGE_GETINFOHEADER' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFOHEADER ) s_getFunction( ( FARPROC ) pGetinfoHead,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:374:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFOHEADER * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFOHEADER ) s_getFunction( ( FARPROC ) pGetinfoHead,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_FI2DIB':
d:/github/allgui/hwgui/source/winapi/freeimg.c:480:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:480:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'SET_FREEIMAGE_MARKER':
d:/github/allgui/hwgui/source/winapi/freeimg.c:508:52: warning: cast between incompatible function types from 'FREEIMAGE_GETIMAGETYPE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:508:10: warning: cast between incompatible function types from 'FARPROC' to 'short int (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_FI2DIBEX':
d:/github/allgui/hwgui/source/winapi/freeimg.c:537:53: warning: cast between incompatible function types from 'FREEIMAGE_GETINFOHEADER' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFOHEADER ) s_getFunction( ( FARPROC ) pGetinfoHead,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:537:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFOHEADER * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFOHEADER ) s_getFunction( ( FARPROC ) pGetinfoHead,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:540:47: warning: cast between incompatible function types from 'FREEIMAGE_GETINFO' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:540:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFO * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:543:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:543:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:546:50: warning: cast between incompatible function types from 'FREEIMAGE_GETPALETTE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETPALETTE ) s_getFunction( ( FARPROC ) pGetPalette,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:546:10: warning: cast between incompatible function types from 'FARPROC' to 'RGBQUAD * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETPALETTE ) s_getFunction( ( FARPROC ) pGetPalette,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:549:52: warning: cast between incompatible function types from 'FREEIMAGE_GETIMAGETYPE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:549:10: warning: cast between incompatible function types from 'FARPROC' to 'short int (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETIMAGETYPE ) s_getFunction( ( FARPROC ) pGetImageType,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_DRAW':
d:/github/allgui/hwgui/source/winapi/freeimg.c:630:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:630:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:633:47: warning: cast between incompatible function types from 'FREEIMAGE_GETINFO' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:633:10: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFO * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_BMP2FI':
d:/github/allgui/hwgui/source/winapi/freeimg.c:655:51: warning: cast between incompatible function types from 'FREEIMAGE_ALLOCATE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:655:13: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(int, int, int, unsigned int, unsigned int, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:658:50: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:658:13: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:661:50: warning: cast between incompatible function types from 'FREEIMAGE_GETINFO' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:661:13: warning: cast between incompatible function types from 'FARPROC' to 'BITMAPINFO * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETINFO ) s_getFunction( ( FARPROC ) pGetinfo,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_DIB2FI':
d:/github/allgui/hwgui/source/winapi/freeimg.c:735:61: warning: cast between incompatible function types from 'FREEIMAGE_CONVERTFROMRAWBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_CONVERTFROMRAWBITS ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:735:13: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(BYTE *, int, int, int, unsigned int, unsigned int, unsigned int, unsigned int, BOOL)' [-Wcast-function-type]
( FREEIMAGE_CONVERTFROMRAWBITS ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:738:53: warning: cast between incompatible function types from 'FREEIMAGE_GETPALETTE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETPALETTE ) s_getFunction( ( FARPROC ) pGetPalette,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:738:13: warning: cast between incompatible function types from 'FARPROC' to 'RGBQUAD * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETPALETTE ) s_getFunction( ( FARPROC ) pGetPalette,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_RESCALE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:791:47: warning: cast between incompatible function types from 'FREEIMAGE_RESCALE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_RESCALE ) s_getFunction( ( FARPROC ) pRescale,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:791:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *, int, int, FREE_IMAGE_FILTER)' [-Wcast-function-type]
( FREEIMAGE_RESCALE ) s_getFunction( ( FARPROC ) pRescale,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_REMOVECHANNEL':
d:/github/allgui/hwgui/source/winapi/freeimg.c:806:48: warning: cast between incompatible function types from 'FREEIMAGE_ALLOCATE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:806:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(int, int, int, unsigned int, unsigned int, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:818:46: warning: cast between incompatible function types from 'FREEIMAGE_UNLOAD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_UNLOAD ) s_getFunction( ( FARPROC ) pUnload,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:818:10: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_UNLOAD ) s_getFunction( ( FARPROC ) pUnload,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_LOADFROMMEM':
d:/github/allgui/hwgui/source/winapi/freeimg.c:886:54: warning: cast between incompatible function types from 'FREEIMAGE_LOADFROMHANDLE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_LOADFROMHANDLE ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:886:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FREE_IMAGE_FORMAT, FreeImageIO *, void *, int)' [-Wcast-function-type]
( FREEIMAGE_LOADFROMHANDLE ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_ROTATECLASSIC':
d:/github/allgui/hwgui/source/winapi/freeimg.c:929:53: warning: cast between incompatible function types from 'FREEIMAGE_ROTATECLASSIC' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_ROTATECLASSIC ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:929:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *, double)' [-Wcast-function-type]
( FREEIMAGE_ROTATECLASSIC ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_SETDOTSPERMETERX':
d:/github/allgui/hwgui/source/winapi/freeimg.c:959:56: warning: cast between incompatible function types from 'FREEIMAGE_SETDOTSPERMETERX' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_SETDOTSPERMETERX ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:959:10: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(FIBITMAP *, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_SETDOTSPERMETERX ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_SETDOTSPERMETERY':
d:/github/allgui/hwgui/source/winapi/freeimg.c:971:56: warning: cast between incompatible function types from 'FREEIMAGE_SETDOTSPERMETERY' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_SETDOTSPERMETERY ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:971:10: warning: cast between incompatible function types from 'FARPROC' to 'void (__attribute__((stdcall)) *)(FIBITMAP *, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_SETDOTSPERMETERY ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_ALLOCATE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:985:48: warning: cast between incompatible function types from 'FREEIMAGE_ALLOCATE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:985:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(int, int, int, unsigned int, unsigned int, unsigned int)' [-Wcast-function-type]
( FREEIMAGE_ALLOCATE ) s_getFunction( ( FARPROC ) pAllocate,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_COPY':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1011:44: warning: cast between incompatible function types from 'FREEIMAGE_COPY' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_COPY ) s_getFunction( ( FARPROC ) pCopy,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1011:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *, int, int, int, int)' [-Wcast-function-type]
( FREEIMAGE_COPY ) s_getFunction( ( FARPROC ) pCopy,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_GETBITS':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1045:47: warning: cast between incompatible function types from 'FREEIMAGE_GETBITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1045:10: warning: cast between incompatible function types from 'FARPROC' to 'BYTE * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_GETBITS ) s_getFunction( ( FARPROC ) pGetbits,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_CONVERTTO8BITS':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1054:54: warning: cast between incompatible function types from 'FREEIMAGE_CONVERTTO8BITS' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_CONVERTTO8BITS ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1054:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_CONVERTTO8BITS ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_CONVERTTOGREYSCALE':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1063:58: warning: cast between incompatible function types from 'FREEIMAGE_CONVERTTOGREYSCALE' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_CONVERTTOGREYSCALE ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1063:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *)' [-Wcast-function-type]
( FREEIMAGE_CONVERTTOGREYSCALE ) s_getFunction( ( FARPROC )
^
d:/github/allgui/hwgui/source/winapi/freeimg.c: In function 'HB_FUN_HWG_FI_THRESHOLD':
d:/github/allgui/hwgui/source/winapi/freeimg.c:1072:49: warning: cast between incompatible function types from 'FREEIMAGE_THRESHOLD' to 'int (__attribute__((stdcall)) *)()' [-Wcast-function-type]
( FREEIMAGE_THRESHOLD ) s_getFunction( ( FARPROC ) pThreshold,
^
d:/github/allgui/hwgui/source/winapi/freeimg.c:1072:10: warning: cast between incompatible function types from 'FARPROC' to 'FIBITMAP * (__attribute__((stdcall)) *)(FIBITMAP *, BYTE)' [-Wcast-function-type]
( FREEIMAGE_THRESHOLD ) s_getFunction( ( FARPROC ) pThreshold,
^
mt=yes
gui=yes
strip=yes
compr=yes
libpaths=d:/cdrom/fontes/integra/sefazclass
libpaths=d:/cdrom/fontes/integra/josequintas
libpaths=d:/cdrom/fontes/integra/josequintas/bostaurus
libpaths=d:/github/allgui/hmg3
libpaths=d:/github/allgui/hmge
libpaths=d:/github/allgui/hwgui
libpaths=d:/github/allgui/oohg
CFLAGS=-Wno-implicit-fallthrough -Wno-cast-function-type
Usuários vendo este fórum: Nenhum usuário registrado online e 3 visitantes