Please fix the source code (cast, or non standard STL
usage):
Here the full report:
------ Rebuild All started: Project: exehead_zlib,
Configuration: Release Win32 ------
Deleting intermediate files and output files for
project 'exehead_zlib', configuration 'Release|Win32'.
Compiling...
util.c
util.c(453) : warning C4244: '=' : conversion from
'__w64 int' to 'DWORD', possible loss of data
util.c(560) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
util.c(600) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
util.c(604) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
util.c(650) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'unsigned int'
util.c(702) : warning C4244: 'function' : conversion
from '__w64 int' to 'int', possible loss of data
Ui.c
Ui.c(123) : warning C4312: 'type cast' : conversion
from 'LONG' to 'ctlcolors *' of greater size
Ui.c(151) : warning C4311: 'type cast' : pointer
truncation from 'HBRUSH' to 'BOOL'
Ui.c(181) : warning C4312: 'type cast' : conversion
from 'int' to 'char *' of greater size
Ui.c(219) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
Ui.c(220) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
Ui.c(221) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
Ui.c(338) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
Ui.c(338) : warning C4133: 'function' : incompatible
types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(338) : warning C4244: 'initializing' : conversion
from 'INT_PTR' to 'int', possible loss of data
Ui.c(399) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(402) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(404) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(405) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(409) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(411) : warning C4244: '=' : conversion from
'WPARAM' to 'int', possible loss of data
Ui.c(419) : warning C4311: 'type cast' : pointer
truncation from 'HICON' to 'long'
Ui.c(427) : warning C4312: 'type cast' : conversion
from 'int' to 'page *' of greater size
Ui.c(523) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
Ui.c(643) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'char *' of greater size
Ui.c(657) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
Ui.c(660) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'DWORD'
Ui.c(687) : warning C4244: 'initializing' : conversion
from 'LRESULT' to 'int', possible loss of data
Ui.c(784) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(965) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1022) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1100) : warning C4244: 'function' : conversion
from 'LPARAM' to 'int', possible loss of data
Ui.c(1108) : warning C4312: 'type cast' : conversion
from 'LONG' to 'WNDPROC' of greater size
Ui.c(1108) : warning C4244: 'return' : conversion from
'LRESULT' to 'DWORD', possible loss of data
Ui.c(1118) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1133) : warning C4311: 'type cast' : pointer
truncation from 'DWORD (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'long'
Ui.c(1151) : warning C4244: '=' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(1171) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HTREEITEM' of greater size
Ui.c(1233) : warning C4244: 'initializing' : conversion
from 'WPARAM' to 'int', possible loss of data
Ui.c(1234) : warning C4244: 'initializing' : conversion
from 'LPARAM' to 'int', possible loss of data
Ui.c(1334) : warning C4244: 'initializing' : conversion
from 'LRESULT' to 'int', possible loss of data
Ui.c(1337) : warning C4244: 'initializing' : conversion
from 'LRESULT' to 'int', possible loss of data
Ui.c(1497) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1656) : warning C4244: '+=' : conversion from
'LRESULT' to 'int', possible loss of data
Main.c
fileform.c
fileform.c(209) : warning C4133: 'function' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
fileform.c(292) : warning C4311: 'type cast' : pointer
truncation from 'void *' to 'int'
fileform.c(362) : warning C4244: '=' : conversion from
'__w64 int' to 'int', possible loss of data
exec.c
exec.c(50) : warning C4312: 'type cast' : conversion
from 'int' to 'entry *' of greater size
exec.c(51) : warning C4312: 'type cast' : conversion
from 'int' to 'entry *' of greater size
exec.c(138) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
exec.c(698) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(699) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(700) : warning C4312: 'type cast' : conversion
from 'int' to 'char *' of greater size
exec.c(701) : warning C4312: 'type cast' : conversion
from 'int' to 'char *' of greater size
exec.c(705) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(709) : warning C4244: '=' : conversion from
'LRESULT' to 'int', possible loss of data
exec.c(715) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(715) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(715) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(723) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(730) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(733) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(737) : warning C4312: 'type cast' : conversion
from 'int' to 'ctlcolors *' of greater size
exec.c(738) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(738) : warning C4311: 'type cast' : pointer
truncation from 'ctlcolors *' to 'long'
exec.c(775) : warning C4311: 'type cast' : pointer
truncation from 'HFONT' to 'int'
exec.c(780) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(800) : warning C4311: 'type cast' : pointer
truncation from 'HINSTANCE' to 'int'
exec.c(1135) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
exec.c(1150) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
exec.c(1233) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1249) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1267) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1285) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1315) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1329) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1337) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1365) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1460) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
crc32.c
bgbg.c
bgbg.c(62) : warning C4312: 'type cast' : conversion
from 'int' to 'LOGFONT *' of greater size
Generating Code...
Compiling...
Infblock.c
Compiling resources...
Linking...
generating include file for makenssi
Release-zlib\exehead_zlib.exe -> zlib_exehead (35840 bytes)
bitmap1.bmp -> bitmap1_data (886 bytes)
nsis.ico -> icon_data (766 bytes)
uninst.ico -> unicon_data (766 bytes)
Build log was saved at "file://c:\Program
Files\Nsis\Source\exehead\Release-zlib\BuildLog.htm"
exehead_zlib - 0 error(s), 80 warning(s)
------ Rebuild All started: Project: exehead_lzma,
Configuration: Release Win32 ------
Deleting intermediate files and output files for
project 'exehead_lzma', configuration 'Release|Win32'.
Compiling...
util.c
util.c(453) : warning C4244: '=' : conversion from
'__w64 int' to 'DWORD', possible loss of data
util.c(560) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
util.c(600) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
util.c(604) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
util.c(650) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'unsigned int'
util.c(702) : warning C4244: 'function' : conversion
from '__w64 int' to 'int', possible loss of data
Ui.c
Ui.c(123) : warning C4312: 'type cast' : conversion
from 'LONG' to 'ctlcolors *' of greater size
Ui.c(151) : warning C4311: 'type cast' : pointer
truncation from 'HBRUSH' to 'BOOL'
Ui.c(181) : warning C4312: 'type cast' : conversion
from 'int' to 'char *' of greater size
Ui.c(219) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
Ui.c(220) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
Ui.c(221) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
Ui.c(338) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
Ui.c(338) : warning C4133: 'function' : incompatible
types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(338) : warning C4244: 'initializing' : conversion
from 'INT_PTR' to 'int', possible loss of data
Ui.c(399) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(402) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(404) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(405) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(409) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(411) : warning C4244: '=' : conversion from
'WPARAM' to 'int', possible loss of data
Ui.c(419) : warning C4311: 'type cast' : pointer
truncation from 'HICON' to 'long'
Ui.c(427) : warning C4312: 'type cast' : conversion
from 'int' to 'page *' of greater size
Ui.c(523) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
Ui.c(643) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'char *' of greater size
Ui.c(657) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
Ui.c(660) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'DWORD'
Ui.c(687) : warning C4244: 'initializing' : conversion
from 'LRESULT' to 'int', possible loss of data
Ui.c(784) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(965) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1022) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1100) : warning C4244: 'function' : conversion
from 'LPARAM' to 'int', possible loss of data
Ui.c(1108) : warning C4312: 'type cast' : conversion
from 'LONG' to 'WNDPROC' of greater size
Ui.c(1108) : warning C4244: 'return' : conversion from
'LRESULT' to 'DWORD', possible loss of data
Ui.c(1118) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1133) : warning C4311: 'type cast' : pointer
truncation from 'DWORD (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'long'
Ui.c(1151) : warning C4244: '=' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(1171) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HTREEITEM' of greater size
Ui.c(1233) : warning C4244: 'initializing' : conversion
from 'WPARAM' to 'int', possible loss of data
Ui.c(1234) : warning C4244: 'initializing' : conversion
from 'LPARAM' to 'int', possible loss of data
Ui.c(1334) : warning C4244: 'initializing' : conversion
from 'LRESULT' to 'int', possible loss of data
Ui.c(1337) : warning C4244: 'initializing' : conversion
from 'LRESULT' to 'int', possible loss of data
Ui.c(1497) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1656) : warning C4244: '+=' : conversion from
'LRESULT' to 'int', possible loss of data
Main.c
fileform.c
fileform.c(209) : warning C4133: 'function' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
fileform.c(292) : warning C4311: 'type cast' : pointer
truncation from 'void *' to 'int'
fileform.c(463) : warning C4133: 'function' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
fileform.c(475) : warning C4311: 'type cast' : pointer
truncation from 'Byte *' to 'DWORD'
fileform.c(475) : warning C4311: 'type cast' : pointer
truncation from 'char [32768]' to 'DWORD'
exec.c
exec.c(50) : warning C4312: 'type cast' : conversion
from 'int' to 'entry *' of greater size
exec.c(51) : warning C4312: 'type cast' : conversion
from 'int' to 'entry *' of greater size
exec.c(138) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
exec.c(698) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(699) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(700) : warning C4312: 'type cast' : conversion
from 'int' to 'char *' of greater size
exec.c(701) : warning C4312: 'type cast' : conversion
from 'int' to 'char *' of greater size
exec.c(705) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(709) : warning C4244: '=' : conversion from
'LRESULT' to 'int', possible loss of data
exec.c(715) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(715) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(715) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(723) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(730) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(733) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(737) : warning C4312: 'type cast' : conversion
from 'int' to 'ctlcolors *' of greater size
exec.c(738) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(738) : warning C4311: 'type cast' : pointer
truncation from 'ctlcolors *' to 'long'
exec.c(775) : warning C4311: 'type cast' : pointer
truncation from 'HFONT' to 'int'
exec.c(780) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(800) : warning C4311: 'type cast' : pointer
truncation from 'HINSTANCE' to 'int'
exec.c(1135) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
exec.c(1150) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
exec.c(1233) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1249) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1267) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1285) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1315) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1329) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1337) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1365) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1460) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
crc32.c
bgbg.c
bgbg.c(62) : warning C4312: 'type cast' : conversion
from 'int' to 'LOGFONT *' of greater size
LZMADecode.c
Generating Code...
Compiling resources...
Linking...
generating include file for makenssi
Release-lzma\exehead_lzma.exe -> lzma_exehead (35328 bytes)
Build log was saved at "file://c:\Program
Files\Nsis\Source\exehead\Release-lzma\BuildLog.htm"
exehead_lzma - 0 error(s), 82 warning(s)
------ Rebuild All started: Project: exehead_bzip2,
Configuration: Release Win32 ------
Deleting intermediate files and output files for
project 'exehead_bzip2', configuration 'Release|Win32'.
Compiling...
util.c
util.c(453) : warning C4244: '=' : conversion from
'__w64 int' to 'DWORD', possible loss of data
util.c(560) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
util.c(600) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
util.c(604) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
util.c(650) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'unsigned int'
util.c(702) : warning C4244: 'function' : conversion
from '__w64 int' to 'int', possible loss of data
Ui.c
Ui.c(123) : warning C4312: 'type cast' : conversion
from 'LONG' to 'ctlcolors *' of greater size
Ui.c(151) : warning C4311: 'type cast' : pointer
truncation from 'HBRUSH' to 'BOOL'
Ui.c(181) : warning C4312: 'type cast' : conversion
from 'int' to 'char *' of greater size
Ui.c(219) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
Ui.c(220) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
Ui.c(221) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
Ui.c(338) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
Ui.c(338) : warning C4133: 'function' : incompatible
types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(338) : warning C4244: 'initializing' : conversion
from 'INT_PTR' to 'int', possible loss of data
Ui.c(399) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(402) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(404) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(405) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(409) : warning C4133: 'initializing' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(411) : warning C4244: '=' : conversion from
'WPARAM' to 'int', possible loss of data
Ui.c(419) : warning C4311: 'type cast' : pointer
truncation from 'HICON' to 'long'
Ui.c(427) : warning C4312: 'type cast' : conversion
from 'int' to 'page *' of greater size
Ui.c(523) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
Ui.c(643) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'char *' of greater size
Ui.c(657) : warning C4312: 'type cast' : conversion
from 'int' to 'const char *' of greater size
Ui.c(660) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'DWORD'
Ui.c(687) : warning C4244: 'initializing' : conversion
from 'LRESULT' to 'int', possible loss of data
Ui.c(784) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(965) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1022) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1100) : warning C4244: 'function' : conversion
from 'LPARAM' to 'int', possible loss of data
Ui.c(1108) : warning C4312: 'type cast' : conversion
from 'LONG' to 'WNDPROC' of greater size
Ui.c(1108) : warning C4244: 'return' : conversion from
'LRESULT' to 'DWORD', possible loss of data
Ui.c(1118) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1133) : warning C4311: 'type cast' : pointer
truncation from 'DWORD (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'long'
Ui.c(1151) : warning C4244: '=' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(1171) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HTREEITEM' of greater size
Ui.c(1233) : warning C4244: 'initializing' : conversion
from 'WPARAM' to 'int', possible loss of data
Ui.c(1234) : warning C4244: 'initializing' : conversion
from 'LPARAM' to 'int', possible loss of data
Ui.c(1334) : warning C4244: 'initializing' : conversion
from 'LRESULT' to 'int', possible loss of data
Ui.c(1337) : warning C4244: 'initializing' : conversion
from 'LRESULT' to 'int', possible loss of data
Ui.c(1497) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
Ui.c(1656) : warning C4244: '+=' : conversion from
'LRESULT' to 'int', possible loss of data
Main.c
fileform.c
fileform.c(209) : warning C4133: 'function' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
fileform.c(292) : warning C4311: 'type cast' : pointer
truncation from 'void *' to 'int'
fileform.c(463) : warning C4133: 'function' :
incompatible types - from 'BOOL (__stdcall
*)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
fileform.c(475) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'DWORD'
fileform.c(475) : warning C4311: 'type cast' : pointer
truncation from 'char [32768]' to 'DWORD'
exec.c
exec.c(50) : warning C4312: 'type cast' : conversion
from 'int' to 'entry *' of greater size
exec.c(51) : warning C4312: 'type cast' : conversion
from 'int' to 'entry *' of greater size
exec.c(138) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
exec.c(698) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(699) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(700) : warning C4312: 'type cast' : conversion
from 'int' to 'char *' of greater size
exec.c(701) : warning C4312: 'type cast' : conversion
from 'int' to 'char *' of greater size
exec.c(705) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(709) : warning C4244: '=' : conversion from
'LRESULT' to 'int', possible loss of data
exec.c(715) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(715) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(715) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(723) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(730) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(733) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(737) : warning C4312: 'type cast' : conversion
from 'int' to 'ctlcolors *' of greater size
exec.c(738) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(738) : warning C4311: 'type cast' : pointer
truncation from 'ctlcolors *' to 'long'
exec.c(775) : warning C4311: 'type cast' : pointer
truncation from 'HFONT' to 'int'
exec.c(780) : warning C4312: 'type cast' : conversion
from 'int' to 'HWND' of greater size
exec.c(800) : warning C4311: 'type cast' : pointer
truncation from 'HINSTANCE' to 'int'
exec.c(1135) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
exec.c(1150) : warning C4312: 'type cast' : conversion
from 'int' to 'HKEY' of greater size
exec.c(1233) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1249) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1267) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1285) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1315) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1329) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1337) : warning C4312: 'type cast' : conversion
from 'int' to 'HANDLE' of greater size
exec.c(1365) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1460) : warning C4312: 'type cast' : conversion
from 'int' to 'section *' of greater size
crc32.c
bgbg.c
bgbg.c(62) : warning C4312: 'type cast' : conversion
from 'int' to 'LOGFONT *' of greater size
Generating Code...
Compiling...
huffman.c
decompress.c
bzlib.c
Generating Code...
Compiling resources...
Linking...
generating include file for makenssi
Release-bzip2\exehead_bzip2.exe -> bzip2_exehead (35328
bytes)
Build log was saved at "file://c:\Program
Files\Nsis\Source\exehead\Release-bzip2\BuildLog.htm"
exehead_bzip2 - 0 error(s), 82 warning(s)
------ Rebuild All started: Project: makenssi,
Configuration: Release Win32 ------
Deleting intermediate files and output files for
project 'makenssi', configuration 'Release|Win32'.
Compiling...
util.cpp
util.cpp(96) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
util.cpp(160) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
util.cpp(184) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
util.cpp(199) : warning C4311: 'type cast' : pointer
truncation from 'LPSTR' to 'DWORD'
util.cpp(199) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
util.cpp(294) : warning C4311: 'type cast' : pointer
truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
util.cpp(294) : warning C4312: 'type cast' : conversion
from 'unsigned long' to 'PIMAGE_SECTION_HEADER' of
greater size
util.cpp(310) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'int'
util.cpp(310) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(312) : warning C4311: 'type cast' : pointer
truncation from 'LPSTR' to 'int'
util.cpp(316) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(316) : warning C4312: 'type cast' : conversion
from 'unsigned long' to 'RESOURCE_DIRECTORY *' of
greater size
util.cpp(318) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'int'
util.cpp(318) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(324) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(324) : warning C4312: 'type cast' : conversion
from 'unsigned long' to 'RESOURCE_DIRECTORY *' of
greater size
util.cpp(326) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'int'
util.cpp(326) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(329) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(329) : warning C4312: 'type cast' : conversion
from 'unsigned long' to '_IMAGE_RESOURCE_DATA_ENTRY *'
of greater size
util.cpp(331) : warning C4311: 'type cast' : pointer
truncation from 'PIMAGE_RESOURCE_DATA_ENTRY' to 'int'
util.cpp(331) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(350) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(350) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'unsigned long'
util.cpp(352) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'int'
util.cpp(352) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(366) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(366) : warning C4312: 'type cast' : conversion
from 'unsigned long' to 'RESOURCE_DIRECTORY *' of
greater size
util.cpp(366) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(366) : warning C4312: 'type cast' : conversion
from 'unsigned long' to '_IMAGE_RESOURCE_DATA_ENTRY *'
of greater size
util.cpp(366) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(366) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'unsigned long'
makenssi.cpp
makenssi.cpp(234) : warning C4312: 'type cast' :
conversion from 'long' to 'HWND' of greater size
c:\Program Files\NSIS\Source\strlist.h(138) : warning
C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(133) :
while compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\uservars.h(16) :
see reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning
C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) :
while compiling class-template member function 'int
SortedStringListND<T>::find(const char
*,int,int,int,int *)'
with
[
T=uservarstring
]
exedata.cpp
build.cpp
build.cpp(368) : warning C4267: '=' : conversion from
'size_t' to 'DWORD', possible loss of data
build.cpp(551) : warning C4244: 'initializing' :
conversion from '__w64 int' to 'int', possible loss of data
build.cpp(587) : warning C4244: 'argument' : conversion
from '__w64 int' to 'int', possible loss of data
build.cpp(590) : warning C4244: 'argument' : conversion
from '__w64 int' to 'int', possible loss of data
build.cpp(616) : warning C4244: 'argument' : conversion
from '__w64 int' to 'int', possible loss of data
build.cpp(2419) : warning C4267: 'argument' :
conversion from 'size_t' to 'unsigned int', possible
loss of data
build.cpp(2565) : warning C4267: 'initializing' :
conversion from 'size_t' to 'int', possible loss of data
build.cpp(2579) : warning C4267: 'initializing' :
conversion from 'size_t' to 'int', possible loss of data
build.cpp(2692) : warning C4267: 'initializing' :
conversion from 'size_t' to 'int', possible loss of data
build.cpp(2751) : warning C4244: 'initializing' :
conversion from '__w64 int' to 'int', possible loss of data
build.cpp(2810) : warning C4267: '=' : conversion from
'size_t' to 'int', possible loss of data
build.cpp(2818) : warning C4267: 'argument' :
conversion from 'size_t' to 'int', possible loss of data
build.cpp(2844) : warning C4267: 'argument' :
conversion from 'size_t' to 'unsigned int', possible
loss of data
build.cpp(2887) : warning C4244: 'argument' :
conversion from '__w64 int' to 'int', possible loss of data
build.cpp(2904) : warning C4244: 'argument' :
conversion from '__w64 int' to 'int', possible loss of data
build.cpp(2918) : warning C4244: 'argument' :
conversion from '__w64 int' to 'int', possible loss of data
build.cpp(2976) : warning C4267: '=' : conversion from
'size_t' to 'int', possible loss of data
build.cpp(3145) : warning C4267: 'initializing' :
conversion from 'size_t' to 'DWORD', possible loss of data
build.cpp(3266) : warning C4267: 'argument' :
conversion from 'size_t' to 'int', possible loss of data
build.cpp(3306) : warning C4267: 'initializing' :
conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(138) : warning
C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(133) :
while compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\uservars.h(16) :
see reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning
C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) :
while compiling class-template member function 'int
SortedStringListND<T>::find(const char
*,int,int,int,int *)'
with
[
T=uservarstring
]
Compiling...
tokens.cpp
c:\Program Files\NSIS\Source\strlist.h(138) : warning
C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(133) :
while compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\uservars.h(16) :
see reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning
C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) :
while compiling class-template member function 'int
SortedStringListND<T>::find(const char
*,int,int,int,int *)'
with
[
T=uservarstring
]
strlist.cpp
strlist.cpp(11) : warning C4267: 'argument' :
conversion from 'size_t' to 'int', possible loss of data
strlist.cpp(32) : warning C4267: 'return' : conversion
from 'size_t' to 'int', possible loss of data
strlist.cpp(34) : warning C4267: '+=' : conversion from
'size_t' to 'int', possible loss of data
strlist.cpp(43) : warning C4267: 'initializing' :
conversion from 'size_t' to 'int', possible loss of data
strlist.cpp(56) : warning C4267: '+=' : conversion from
'size_t' to 'int', possible loss of data
strlist.cpp(69) : warning C4267: '+=' : conversion from
'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(138) : warning
C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(133) :
while compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=string_t
]
c:\Program Files\NSIS\Source\strlist.h(227) :
see reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=string_t
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning
C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) :
while compiling class-template member function 'int
SortedStringListND<T>::find(const char
*,int,int,int,int *)'
with
[
T=string_t
]
ShConstants.cpp
c:\Program Files\NSIS\Source\strlist.h(138) : warning
C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(133) :
while compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=constantstring
]
c:\Program Files\NSIS\Source\ShConstants.h(17)
: see reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=constantstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning
C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) :
while compiling class-template member function 'int
SortedStringListND<T>::find(const char
*,int,int,int,int *)'
with
[
T=constantstring
]
ResourceVersionInfo.cpp
ResourceVersionInfo.cpp(169) : warning C4311: 'type
cast' : pointer truncation from 'LPSTR' to 'long'
ResourceVersionInfo.cpp(171) : warning C4244: 'return'
: conversion from '__w64 int' to 'int', possible loss
of data
ResourceVersionInfo.cpp(191) : warning C4267: '=' :
conversion from 'size_t' to 'WORD', possible loss of data
ResourceVersionInfo.cpp(288) : warning C4267: '=' :
conversion from 'size_t' to 'WORD', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(138) : warning
C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(133) :
while compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=version_string_list
]
c:\Program
Files\NSIS\Source\ResourceVersionInfo.h(39) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=version_string_list
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning
C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) :
while compiling class-template member function 'int
SortedStringListND<T>::find(const char
*,int,int,int,int *)'
with
[
T=version_string_list
]
ResourceEditor.cpp
ResourceEditor.cpp(75) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(75) : warning C4312: 'type cast' :
conversion from 'unsigned long' to
'PIMAGE_SECTION_HEADER' of greater size
ResourceEditor.cpp(158) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(180) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(184) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(188) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(188) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(265) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(265) : warning C4312: 'type cast' :
conversion from 'unsigned long' to
'PIMAGE_SECTION_HEADER' of greater size
ResourceEditor.cpp(279) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(279) : warning C4312: 'type cast' :
conversion from 'unsigned long' to
'PIMAGE_SECTION_HEADER' of greater size
ResourceEditor.cpp(293) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(293) : warning C4312: 'type cast' :
conversion from 'unsigned long' to
'PIMAGE_SECTION_HEADER' of greater size
ResourceEditor.cpp(327) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(327) : warning C4312: 'type cast' :
conversion from 'unsigned long' to
'PIMAGE_SECTION_HEADER' of greater size
ResourceEditor.cpp(351) : warning C4244: 'initializing'
: conversion from '__w64 int' to 'DWORD', possible loss
of data
ResourceEditor.cpp(379) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(379) : warning C4312: 'type cast' :
conversion from 'unsigned long' to
'PIMAGE_SECTION_HEADER' of greater size
ResourceEditor.cpp(452) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(477) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(501) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(521) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(537) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(549) : warning C4312: 'type cast' :
conversion from 'DWORD' to
'_MY_IMAGE_RESOURCE_DIRECTORY_ENTRY *' of greater size
ResourceEditor.cpp(549) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(549) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(552) : warning C4267: 'initializing'
: conversion from 'size_t' to 'WORD', possible loss of data
ResourceEditor.cpp(600) : warning C4312: 'type cast' :
conversion from 'DWORD' to '_IMAGE_RESOURCE_DATA_ENTRY
*' of greater size
ResourceEditor.cpp(600) : warning C4244: '=' :
conversion from '__w64 unsigned long' to 'DWORD',
possible loss of data
ResourceEditor.cpp(610) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(617) : warning C4312: 'type cast' :
conversion from 'DWORD' to
'_MY_IMAGE_RESOURCE_DIRECTORY_ENTRY *' of greater size
ResourceEditor.cpp(618) : warning C4312: 'type cast' :
conversion from 'DWORD' to
'_MY_IMAGE_RESOURCE_DIRECTORY_ENTRY *' of greater size
ResourceEditor.cpp(622) : warning C4312: 'type cast' :
conversion from 'DWORD' to
'_MY_IMAGE_RESOURCE_DIRECTORY_ENTRY *' of greater size
ResourceEditor.cpp(702) : warning C4267: 'return' :
conversion from 'size_t' to 'int', possible loss of data
ResourceEditor.cpp(709) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(710) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(785) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(788) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(800) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(803) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(838) : warning C4267: 'return' :
conversion from 'size_t' to 'int', possible loss of data
Plugins.cpp
Plugins.cpp(22) : warning C4267: 'argument' :
conversion from 'size_t' to 'int', possible loss of data
Plugins.cpp(53) : warning C4267: 'initializing' :
conversion from 'size_t' to 'int', possible loss of data
Plugins.cpp(132) : warning C4267: 'initializing' :
conversion from 'size_t' to 'int', possible loss of data
Plugins.cpp(172) : warning C4311: 'type cast' : pointer
truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
Plugins.cpp(172) : warning C4312: 'type cast' :
conversion from 'unsigned long' to
'PIMAGE_SECTION_HEADER' of greater size
Plugins.cpp(180) : warning C4311: 'type cast' : pointer
truncation from 'PIMAGE_EXPORT_DIRECTORY' to 'unsigned
long'
Plugins.cpp(180) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'char *' of greater size
c:\Program Files\NSIS\Source\strlist.h(138) : warning
C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(133) :
while compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=plugin
]
c:\Program Files\NSIS\Source\Plugins.h(15) :
see reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=plugin
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning
C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) :
while compiling class-template member function 'int
SortedStringListND<T>::find(const char
*,int,int,int,int *)'
with
[
T=plugin
]
mmap.cpp
lineparse.cpp
lang.cpp
lang.cpp(265) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
lang.cpp(545) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
lang.cpp(546) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
lang.cpp(547) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
lang.cpp(549) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
lang.cpp(551) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
lang.cpp(553) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
lang.cpp(554) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
lang.cpp(556) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
lang.cpp(559) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'LPSTR' of greater size
lang.cpp(963) : warning C4267: '=' : conversion from
'size_t' to 'int', possible loss of data
lang.cpp(1062) : warning C4267: '=' : conversion from
'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(138) : warning
C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(133) :
while compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=langstring
]
c:\Program Files\NSIS\Source\lang.h(22) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=langstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning
C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) :
while compiling class-template member function 'int
SortedStringListND<T>::find(const char
*,int,int,int,int *)'
with
[
T=langstring
]
c:\Program Files\NSIS\Source\strlist.h(138) : warning
C4267: 'argument' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(133) :
while compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\uservars.h(16) :
see reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning
C4267: '=' : conversion from 'size_t' to 'int',
possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) :
while compiling class-template member function 'int
SortedStringListND<T>::find(const char
*,int,int,int,int *)'
with
[
T=uservarstring
]
growbuf.cpp
dirreader.cpp
dirreader.cpp(75) : error C2451: conditional expression
of type
'std::basic_string<_Elem,_Traits,_Ax>::const_iterator'
is illegal
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
No user-defined-conversion operator available
that can perform this conversion, or the operator
cannot be called
dirreader.cpp(90) : error C2677: binary '&&' : no
global operator found which takes type
'std::basic_string<_Elem,_Traits,_Ax>::const_iterator'
(or there is no acceptable conversion)
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
DialogTemplate.cpp
DialogTemplate.cpp(47) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
DialogTemplate.cpp(290) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(292) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(300) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(302) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(373) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(377) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(449) : warning C4267: 'argument' :
conversion from 'size_t' to 'int', possible loss of data
DialogTemplate.cpp(511) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'int'
DialogTemplate.cpp(525) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'int'
DialogTemplate.cpp(531) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'int'
DialogTemplate.cpp(541) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(546) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(577) : warning C4267: 'initializing'
: conversion from 'size_t' to 'WORD', possible loss of data
DialogTemplate.cpp(591) : warning C4267: 'initializing'
: conversion from 'size_t' to 'WORD', possible loss of data
DialogTemplate.cpp(603) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(603) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(605) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(605) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(607) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(607) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(621) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(621) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(661) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(661) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(663) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(663) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(687) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(687) : warning C4267: '+=' :
conversion from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(689) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(689) : warning C4267: '+=' :
conversion from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(691) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(691) : warning C4267: '+=' :
conversion from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(696) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(696) : warning C4267: '+=' :
conversion from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(706) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(706) : warning C4267: '+=' :
conversion from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(708) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(708) : warning C4267: '+=' :
conversion from 'size_t' to 'DWORD', possible loss of data
clzma.cpp
7zGuids.cpp
Build log was saved at "file://c:\Program
Files\Nsis\Source\Release\BuildLog.htm"
makenssi - 2 error(s), 180 warning(s)
---------------------- Done ----------------------
Rebuild All: 3 succeeded, 1 failed, 0 skipped
Logged In: YES
user_id=584402
I haven't read the entire list yet, but I think all of the
errors were already fixed in latest CVS version.
Logged In: YES
user_id=430232
Here the result from
Development snapshot (Fri, 07 Jan 2005, 10:57 GMT)
Error is gone, but still hundreds of warnings
------ Rebuild All started: Project: exehead_zlib,
Configuration: Release Win32 ------
Deleting intermediate files and output files for project
'exehead_zlib', configuration 'Release|Win32'.
Compiling...
Infblock.c
Compiling...
util.c
util.c(453) : warning C4244: '=' : conversion from '__w64
int' to 'DWORD', possible loss of data
util.c(560) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
util.c(600) : warning C4312: 'type cast' : conversion from
'DWORD' to 'HKEY' of greater size
util.c(604) : warning C4312: 'type cast' : conversion from
'DWORD' to 'HKEY' of greater size
util.c(650) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'unsigned int'
util.c(702) : warning C4244: 'function' : conversion from
'__w64 int' to 'int', possible loss of data
Ui.c
Ui.c(123) : warning C4312: 'type cast' : conversion from
'LONG' to 'ctlcolors *' of greater size
Ui.c(151) : warning C4311: 'type cast' : pointer truncation
from 'HBRUSH' to 'BOOL'
Ui.c(181) : warning C4312: 'type cast' : conversion from
'int' to 'char *' of greater size
Ui.c(219) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
Ui.c(220) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
Ui.c(221) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
Ui.c(338) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
Ui.c(338) : warning C4133: 'function' : incompatible types -
from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(338) : warning C4244: 'initializing' : conversion from
'INT_PTR' to 'int', possible loss of data
Ui.c(399) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(402) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(404) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(405) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(409) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(411) : warning C4244: '=' : conversion from 'WPARAM' to
'int', possible loss of data
Ui.c(419) : warning C4311: 'type cast' : pointer truncation
from 'HICON' to 'long'
Ui.c(427) : warning C4312: 'type cast' : conversion from
'int' to 'page *' of greater size
Ui.c(523) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
Ui.c(643) : warning C4312: 'type cast' : conversion from
'DWORD' to 'char *' of greater size
Ui.c(657) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
Ui.c(660) : warning C4311: 'type cast' : pointer truncation
from 'char *' to 'DWORD'
Ui.c(687) : warning C4244: 'initializing' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(784) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(965) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1022) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1100) : warning C4244: 'function' : conversion from
'LPARAM' to 'int', possible loss of data
Ui.c(1108) : warning C4312: 'type cast' : conversion from
'LONG' to 'WNDPROC' of greater size
Ui.c(1108) : warning C4244: 'return' : conversion from
'LRESULT' to 'DWORD', possible loss of data
Ui.c(1118) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1133) : warning C4311: 'type cast' : pointer truncation
from 'DWORD (__stdcall *)(HWND,UINT,WPARAM,LPARAM)' to 'long'
Ui.c(1151) : warning C4244: '=' : conversion from 'LRESULT'
to 'int', possible loss of data
Ui.c(1171) : warning C4312: 'type cast' : conversion from
'DWORD' to 'HTREEITEM' of greater size
Ui.c(1233) : warning C4244: 'initializing' : conversion from
'WPARAM' to 'int', possible loss of data
Ui.c(1234) : warning C4244: 'initializing' : conversion from
'LPARAM' to 'int', possible loss of data
Ui.c(1334) : warning C4244: 'initializing' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(1337) : warning C4244: 'initializing' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(1497) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1656) : warning C4244: '+=' : conversion from 'LRESULT'
to 'int', possible loss of data
Main.c
fileform.c
fileform.c(209) : warning C4133: 'function' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
fileform.c(292) : warning C4311: 'type cast' : pointer
truncation from 'void *' to 'int'
fileform.c(362) : warning C4244: '=' : conversion from
'__w64 int' to 'int', possible loss of data
exec.c
exec.c(50) : warning C4312: 'type cast' : conversion from
'int' to 'entry *' of greater size
exec.c(51) : warning C4312: 'type cast' : conversion from
'int' to 'entry *' of greater size
exec.c(138) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
exec.c(698) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(699) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(700) : warning C4312: 'type cast' : conversion from
'int' to 'char *' of greater size
exec.c(701) : warning C4312: 'type cast' : conversion from
'int' to 'char *' of greater size
exec.c(705) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(709) : warning C4244: '=' : conversion from 'LRESULT'
to 'int', possible loss of data
exec.c(715) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(715) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(715) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(723) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(730) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(733) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(737) : warning C4312: 'type cast' : conversion from
'int' to 'ctlcolors *' of greater size
exec.c(738) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(738) : warning C4311: 'type cast' : pointer
truncation from 'ctlcolors *' to 'long'
exec.c(775) : warning C4311: 'type cast' : pointer
truncation from 'HFONT' to 'int'
exec.c(780) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(800) : warning C4311: 'type cast' : pointer
truncation from 'HINSTANCE' to 'int'
exec.c(1135) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
exec.c(1150) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
exec.c(1233) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1249) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1267) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1285) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1315) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1329) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1337) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1365) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1460) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
crc32.c
bgbg.c
bgbg.c(62) : warning C4312: 'type cast' : conversion from
'int' to 'LOGFONT *' of greater size
Generating Code...
Compiling resources...
Linking...
generating include file for makenssi
Release-zlib\exehead_zlib.exe -> zlib_exehead (35840 bytes)
bitmap1.bmp -> bitmap1_data (886 bytes)
nsis.ico -> icon_data (766 bytes)
uninst.ico -> unicon_data (766 bytes)
Build log was saved at "file://c:\Program
Files\Nsis\Source\exehead\Release-zlib\BuildLog.htm"
exehead_zlib - 0 error(s), 80 warning(s)
------ Rebuild All started: Project: exehead_lzma,
Configuration: Release Win32 ------
Deleting intermediate files and output files for project
'exehead_lzma', configuration 'Release|Win32'.
Compiling...
LZMADecode.c
util.c
util.c(453) : warning C4244: '=' : conversion from '__w64
int' to 'DWORD', possible loss of data
util.c(560) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
util.c(600) : warning C4312: 'type cast' : conversion from
'DWORD' to 'HKEY' of greater size
util.c(604) : warning C4312: 'type cast' : conversion from
'DWORD' to 'HKEY' of greater size
util.c(650) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'unsigned int'
util.c(702) : warning C4244: 'function' : conversion from
'__w64 int' to 'int', possible loss of data
Ui.c
Ui.c(123) : warning C4312: 'type cast' : conversion from
'LONG' to 'ctlcolors *' of greater size
Ui.c(151) : warning C4311: 'type cast' : pointer truncation
from 'HBRUSH' to 'BOOL'
Ui.c(181) : warning C4312: 'type cast' : conversion from
'int' to 'char *' of greater size
Ui.c(219) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
Ui.c(220) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
Ui.c(221) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
Ui.c(338) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
Ui.c(338) : warning C4133: 'function' : incompatible types -
from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(338) : warning C4244: 'initializing' : conversion from
'INT_PTR' to 'int', possible loss of data
Ui.c(399) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(402) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(404) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(405) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(409) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(411) : warning C4244: '=' : conversion from 'WPARAM' to
'int', possible loss of data
Ui.c(419) : warning C4311: 'type cast' : pointer truncation
from 'HICON' to 'long'
Ui.c(427) : warning C4312: 'type cast' : conversion from
'int' to 'page *' of greater size
Ui.c(523) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
Ui.c(643) : warning C4312: 'type cast' : conversion from
'DWORD' to 'char *' of greater size
Ui.c(657) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
Ui.c(660) : warning C4311: 'type cast' : pointer truncation
from 'char *' to 'DWORD'
Ui.c(687) : warning C4244: 'initializing' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(784) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(965) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1022) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1100) : warning C4244: 'function' : conversion from
'LPARAM' to 'int', possible loss of data
Ui.c(1108) : warning C4312: 'type cast' : conversion from
'LONG' to 'WNDPROC' of greater size
Ui.c(1108) : warning C4244: 'return' : conversion from
'LRESULT' to 'DWORD', possible loss of data
Ui.c(1118) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1133) : warning C4311: 'type cast' : pointer truncation
from 'DWORD (__stdcall *)(HWND,UINT,WPARAM,LPARAM)' to 'long'
Ui.c(1151) : warning C4244: '=' : conversion from 'LRESULT'
to 'int', possible loss of data
Ui.c(1171) : warning C4312: 'type cast' : conversion from
'DWORD' to 'HTREEITEM' of greater size
Ui.c(1233) : warning C4244: 'initializing' : conversion from
'WPARAM' to 'int', possible loss of data
Ui.c(1234) : warning C4244: 'initializing' : conversion from
'LPARAM' to 'int', possible loss of data
Ui.c(1334) : warning C4244: 'initializing' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(1337) : warning C4244: 'initializing' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(1497) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1656) : warning C4244: '+=' : conversion from 'LRESULT'
to 'int', possible loss of data
Main.c
fileform.c
fileform.c(209) : warning C4133: 'function' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
fileform.c(292) : warning C4311: 'type cast' : pointer
truncation from 'void *' to 'int'
fileform.c(463) : warning C4133: 'function' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
fileform.c(475) : warning C4311: 'type cast' : pointer
truncation from 'Byte *' to 'DWORD'
fileform.c(475) : warning C4311: 'type cast' : pointer
truncation from 'char [32768]' to 'DWORD'
exec.c
exec.c(50) : warning C4312: 'type cast' : conversion from
'int' to 'entry *' of greater size
exec.c(51) : warning C4312: 'type cast' : conversion from
'int' to 'entry *' of greater size
exec.c(138) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
exec.c(698) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(699) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(700) : warning C4312: 'type cast' : conversion from
'int' to 'char *' of greater size
exec.c(701) : warning C4312: 'type cast' : conversion from
'int' to 'char *' of greater size
exec.c(705) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(709) : warning C4244: '=' : conversion from 'LRESULT'
to 'int', possible loss of data
exec.c(715) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(715) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(715) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(723) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(730) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(733) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(737) : warning C4312: 'type cast' : conversion from
'int' to 'ctlcolors *' of greater size
exec.c(738) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(738) : warning C4311: 'type cast' : pointer
truncation from 'ctlcolors *' to 'long'
exec.c(775) : warning C4311: 'type cast' : pointer
truncation from 'HFONT' to 'int'
exec.c(780) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(800) : warning C4311: 'type cast' : pointer
truncation from 'HINSTANCE' to 'int'
exec.c(1135) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
exec.c(1150) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
exec.c(1233) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1249) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1267) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1285) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1315) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1329) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1337) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1365) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1460) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
crc32.c
bgbg.c
bgbg.c(62) : warning C4312: 'type cast' : conversion from
'int' to 'LOGFONT *' of greater size
Generating Code...
Compiling resources...
Linking...
generating include file for makenssi
Release-lzma\exehead_lzma.exe -> lzma_exehead (35328 bytes)
Build log was saved at "file://c:\Program
Files\Nsis\Source\exehead\Release-lzma\BuildLog.htm"
exehead_lzma - 0 error(s), 82 warning(s)
------ Rebuild All started: Project: exehead_bzip2,
Configuration: Release Win32 ------
Deleting intermediate files and output files for project
'exehead_bzip2', configuration 'Release|Win32'.
Compiling...
huffman.c
decompress.c
bzlib.c
Generating Code...
Compiling...
util.c
util.c(453) : warning C4244: '=' : conversion from '__w64
int' to 'DWORD', possible loss of data
util.c(560) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
util.c(600) : warning C4312: 'type cast' : conversion from
'DWORD' to 'HKEY' of greater size
util.c(604) : warning C4312: 'type cast' : conversion from
'DWORD' to 'HKEY' of greater size
util.c(650) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'unsigned int'
util.c(702) : warning C4244: 'function' : conversion from
'__w64 int' to 'int', possible loss of data
Ui.c
Ui.c(123) : warning C4312: 'type cast' : conversion from
'LONG' to 'ctlcolors *' of greater size
Ui.c(151) : warning C4311: 'type cast' : pointer truncation
from 'HBRUSH' to 'BOOL'
Ui.c(181) : warning C4312: 'type cast' : conversion from
'int' to 'char *' of greater size
Ui.c(219) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
Ui.c(220) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
Ui.c(221) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
Ui.c(338) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
Ui.c(338) : warning C4133: 'function' : incompatible types -
from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)' to 'DLGPROC'
Ui.c(338) : warning C4244: 'initializing' : conversion from
'INT_PTR' to 'int', possible loss of data
Ui.c(399) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(402) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(404) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(405) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(409) : warning C4133: 'initializing' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
Ui.c(411) : warning C4244: '=' : conversion from 'WPARAM' to
'int', possible loss of data
Ui.c(419) : warning C4311: 'type cast' : pointer truncation
from 'HICON' to 'long'
Ui.c(427) : warning C4312: 'type cast' : conversion from
'int' to 'page *' of greater size
Ui.c(523) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
Ui.c(643) : warning C4312: 'type cast' : conversion from
'DWORD' to 'char *' of greater size
Ui.c(657) : warning C4312: 'type cast' : conversion from
'int' to 'const char *' of greater size
Ui.c(660) : warning C4311: 'type cast' : pointer truncation
from 'char *' to 'DWORD'
Ui.c(687) : warning C4244: 'initializing' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(784) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(965) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1022) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1100) : warning C4244: 'function' : conversion from
'LPARAM' to 'int', possible loss of data
Ui.c(1108) : warning C4312: 'type cast' : conversion from
'LONG' to 'WNDPROC' of greater size
Ui.c(1108) : warning C4244: 'return' : conversion from
'LRESULT' to 'DWORD', possible loss of data
Ui.c(1118) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1133) : warning C4311: 'type cast' : pointer truncation
from 'DWORD (__stdcall *)(HWND,UINT,WPARAM,LPARAM)' to 'long'
Ui.c(1151) : warning C4244: '=' : conversion from 'LRESULT'
to 'int', possible loss of data
Ui.c(1171) : warning C4312: 'type cast' : conversion from
'DWORD' to 'HTREEITEM' of greater size
Ui.c(1233) : warning C4244: 'initializing' : conversion from
'WPARAM' to 'int', possible loss of data
Ui.c(1234) : warning C4244: 'initializing' : conversion from
'LPARAM' to 'int', possible loss of data
Ui.c(1334) : warning C4244: 'initializing' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(1337) : warning C4244: 'initializing' : conversion from
'LRESULT' to 'int', possible loss of data
Ui.c(1497) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
Ui.c(1656) : warning C4244: '+=' : conversion from 'LRESULT'
to 'int', possible loss of data
Main.c
fileform.c
fileform.c(209) : warning C4133: 'function' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
fileform.c(292) : warning C4311: 'type cast' : pointer
truncation from 'void *' to 'int'
fileform.c(463) : warning C4133: 'function' : incompatible
types - from 'BOOL (__stdcall *)(HWND,UINT,WPARAM,LPARAM)'
to 'DLGPROC'
fileform.c(475) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'DWORD'
fileform.c(475) : warning C4311: 'type cast' : pointer
truncation from 'char [32768]' to 'DWORD'
exec.c
exec.c(50) : warning C4312: 'type cast' : conversion from
'int' to 'entry *' of greater size
exec.c(51) : warning C4312: 'type cast' : conversion from
'int' to 'entry *' of greater size
exec.c(138) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
exec.c(698) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(699) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'int'
exec.c(700) : warning C4312: 'type cast' : conversion from
'int' to 'char *' of greater size
exec.c(701) : warning C4312: 'type cast' : conversion from
'int' to 'char *' of greater size
exec.c(705) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(709) : warning C4244: '=' : conversion from 'LRESULT'
to 'int', possible loss of data
exec.c(715) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(715) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(715) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(723) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(730) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(733) : warning C4311: 'type cast' : pointer
truncation from 'HWND' to 'int'
exec.c(737) : warning C4312: 'type cast' : conversion from
'int' to 'ctlcolors *' of greater size
exec.c(738) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(738) : warning C4311: 'type cast' : pointer
truncation from 'ctlcolors *' to 'long'
exec.c(775) : warning C4311: 'type cast' : pointer
truncation from 'HFONT' to 'int'
exec.c(780) : warning C4312: 'type cast' : conversion from
'int' to 'HWND' of greater size
exec.c(800) : warning C4311: 'type cast' : pointer
truncation from 'HINSTANCE' to 'int'
exec.c(1135) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
exec.c(1150) : warning C4312: 'type cast' : conversion from
'int' to 'HKEY' of greater size
exec.c(1233) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1249) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1267) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1285) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1315) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1329) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1337) : warning C4312: 'type cast' : conversion from
'int' to 'HANDLE' of greater size
exec.c(1365) : warning C4311: 'type cast' : pointer
truncation from 'HANDLE' to 'int'
exec.c(1460) : warning C4312: 'type cast' : conversion from
'int' to 'section *' of greater size
crc32.c
bgbg.c
bgbg.c(62) : warning C4312: 'type cast' : conversion from
'int' to 'LOGFONT *' of greater size
Generating Code...
Compiling resources...
Linking...
generating include file for makenssi
Release-bzip2\exehead_bzip2.exe -> bzip2_exehead (35328 bytes)
Build log was saved at "file://c:\Program
Files\Nsis\Source\exehead\Release-bzip2\BuildLog.htm"
exehead_bzip2 - 0 error(s), 82 warning(s)
------ Rebuild All started: Project: makenssi,
Configuration: Release Win32 ------
Deleting intermediate files and output files for project
'makenssi', configuration 'Release|Win32'.
Compiling...
RangeCoderBit.cpp
OutBuffer.cpp
LZMAEncoder.cpp
LZInWindow.cpp
CRC.cpp
Alloc.cpp
Compiling...
7zGuids.cpp
tokens.cpp
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\uservars.h(16) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=uservarstring
]
strlist.cpp
strlist.cpp(11) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
strlist.cpp(32) : warning C4267: 'return' : conversion from
'size_t' to 'int', possible loss of data
strlist.cpp(34) : warning C4267: '+=' : conversion from
'size_t' to 'int', possible loss of data
strlist.cpp(43) : warning C4267: 'initializing' : conversion
from 'size_t' to 'int', possible loss of data
strlist.cpp(56) : warning C4267: '+=' : conversion from
'size_t' to 'int', possible loss of data
strlist.cpp(69) : warning C4267: '+=' : conversion from
'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=string_t
]
c:\Program Files\NSIS\Source\strlist.h(227) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=string_t
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=string_t
]
ShConstants.cpp
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=constantstring
]
c:\Program Files\NSIS\Source\ShConstants.h(17) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=constantstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=constantstring
]
ResourceVersionInfo.cpp
ResourceVersionInfo.cpp(149) : warning C4311: 'type cast' :
pointer truncation from 'LPSTR' to 'long'
ResourceVersionInfo.cpp(151) : warning C4244: 'return' :
conversion from '__w64 int' to 'int', possible loss of data
ResourceVersionInfo.cpp(171) : warning C4267: '=' :
conversion from 'size_t' to 'WORD', possible loss of data
ResourceVersionInfo.cpp(216) : warning C4267: 'argument' :
conversion from 'size_t' to 'WORD', possible loss of data
ResourceVersionInfo.cpp(268) : warning C4267: '=' :
conversion from 'size_t' to 'WORD', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=version_string_list
]
c:\Program
Files\NSIS\Source\ResourceVersionInfo.h(39) : see reference
to class template instantiation 'SortedStringListND<T>'
being compiled
with
[
T=version_string_list
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=version_string_list
]
ResourceEditor.cpp
ResourceEditor.cpp(71) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(71) : warning C4312: 'type cast' :
conversion from 'unsigned long' to 'PIMAGE_SECTION_HEADER'
of greater size
ResourceEditor.cpp(154) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(176) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(180) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(184) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(184) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(261) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(261) : warning C4312: 'type cast' :
conversion from 'unsigned long' to 'PIMAGE_SECTION_HEADER'
of greater size
ResourceEditor.cpp(275) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(275) : warning C4312: 'type cast' :
conversion from 'unsigned long' to 'PIMAGE_SECTION_HEADER'
of greater size
ResourceEditor.cpp(289) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(289) : warning C4312: 'type cast' :
conversion from 'unsigned long' to 'PIMAGE_SECTION_HEADER'
of greater size
ResourceEditor.cpp(323) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(323) : warning C4312: 'type cast' :
conversion from 'unsigned long' to 'PIMAGE_SECTION_HEADER'
of greater size
ResourceEditor.cpp(347) : warning C4244: 'initializing' :
conversion from '__w64 int' to 'DWORD', possible loss of data
ResourceEditor.cpp(375) : warning C4311: 'type cast' :
pointer truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
ResourceEditor.cpp(375) : warning C4312: 'type cast' :
conversion from 'unsigned long' to 'PIMAGE_SECTION_HEADER'
of greater size
ResourceEditor.cpp(432) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
ResourceEditor.cpp(457) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(481) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(501) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(517) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(529) : warning C4312: 'type cast' :
conversion from 'DWORD' to
'_MY_IMAGE_RESOURCE_DIRECTORY_ENTRY *' of greater size
ResourceEditor.cpp(529) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(529) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(532) : warning C4267: 'initializing' :
conversion from 'size_t' to 'WORD', possible loss of data
ResourceEditor.cpp(561) : warning C4312: 'type cast' :
conversion from 'DWORD' to '_IMAGE_RESOURCE_DATA_ENTRY *' of
greater size
ResourceEditor.cpp(561) : warning C4244: '=' : conversion
from '__w64 unsigned long' to 'DWORD', possible loss of data
ResourceEditor.cpp(571) : warning C4311: 'type cast' :
pointer truncation from 'BYTE *' to 'unsigned long'
ResourceEditor.cpp(578) : warning C4312: 'type cast' :
conversion from 'DWORD' to
'_MY_IMAGE_RESOURCE_DIRECTORY_ENTRY *' of greater size
ResourceEditor.cpp(579) : warning C4312: 'type cast' :
conversion from 'DWORD' to
'_MY_IMAGE_RESOURCE_DIRECTORY_ENTRY *' of greater size
ResourceEditor.cpp(583) : warning C4312: 'type cast' :
conversion from 'DWORD' to
'_MY_IMAGE_RESOURCE_DIRECTORY_ENTRY *' of greater size
ResourceEditor.cpp(663) : warning C4267: 'return' :
conversion from 'size_t' to 'int', possible loss of data
ResourceEditor.cpp(670) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(671) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(746) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(749) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(761) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(764) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
ResourceEditor.cpp(799) : warning C4267: 'return' :
conversion from 'size_t' to 'int', possible loss of data
Plugins.cpp
Plugins.cpp(22) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
Plugins.cpp(53) : warning C4267: 'initializing' : conversion
from 'size_t' to 'int', possible loss of data
Plugins.cpp(132) : warning C4267: 'initializing' :
conversion from 'size_t' to 'int', possible loss of data
Plugins.cpp(172) : warning C4311: 'type cast' : pointer
truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
Plugins.cpp(172) : warning C4312: 'type cast' : conversion
from 'unsigned long' to 'PIMAGE_SECTION_HEADER' of greater size
Plugins.cpp(180) : warning C4311: 'type cast' : pointer
truncation from 'PIMAGE_EXPORT_DIRECTORY' to 'unsigned long'
Plugins.cpp(180) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'char *' of greater size
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=plugin
]
c:\Program Files\NSIS\Source\Plugins.h(15) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=plugin
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=plugin
]
mmap.cpp
lineparse.cpp
lang.cpp
lang.cpp(265) : warning C4267: 'argument' : conversion from
'size_t' to 'int', possible loss of data
lang.cpp(545) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
lang.cpp(546) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
lang.cpp(547) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
lang.cpp(549) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
lang.cpp(551) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
lang.cpp(553) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
lang.cpp(554) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
lang.cpp(556) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
lang.cpp(559) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
lang.cpp(963) : warning C4267: '=' : conversion from
'size_t' to 'int', possible loss of data
lang.cpp(1062) : warning C4267: '=' : conversion from
'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=langstring
]
c:\Program Files\NSIS\Source\lang.h(22) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=langstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=langstring
]
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\uservars.h(16) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=uservarstring
]
growbuf.cpp
dirreader.cpp
DialogTemplate.cpp
DialogTemplate.cpp(47) : warning C4312: 'type cast' :
conversion from 'DWORD' to 'LPSTR' of greater size
DialogTemplate.cpp(221) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(223) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(231) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(233) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(304) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(308) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(380) : warning C4267: 'argument' :
conversion from 'size_t' to 'int', possible loss of data
DialogTemplate.cpp(442) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'int'
DialogTemplate.cpp(456) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'int'
DialogTemplate.cpp(462) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'int'
DialogTemplate.cpp(472) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(477) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(508) : warning C4267: 'initializing' :
conversion from 'size_t' to 'WORD', possible loss of data
DialogTemplate.cpp(522) : warning C4267: 'initializing' :
conversion from 'size_t' to 'WORD', possible loss of data
DialogTemplate.cpp(534) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(534) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(536) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(536) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(538) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(538) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(552) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(552) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(592) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(592) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(594) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(594) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'unsigned long'
DialogTemplate.cpp(618) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(618) : warning C4267: '+=' : conversion
from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(620) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(620) : warning C4267: '+=' : conversion
from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(622) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(622) : warning C4267: '+=' : conversion
from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(627) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(627) : warning C4267: '+=' : conversion
from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(637) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(637) : warning C4267: '+=' : conversion
from 'size_t' to 'DWORD', possible loss of data
DialogTemplate.cpp(639) : warning C4311: 'type cast' :
pointer truncation from 'char *' to 'DWORD'
DialogTemplate.cpp(639) : warning C4267: '+=' : conversion
from 'size_t' to 'DWORD', possible loss of data
clzma.cpp
Compiling...
huffman.c
compress.c
bzip2\compress.c(246) : warning C4244: '=' : conversion from
'__w64 int' to 'Int32', possible loss of data
bzlib.c
blocksort.c
crc32.c
Compiling...
trees.c
deflate.c
Compiling...
util.cpp
util.cpp(97) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
util.cpp(161) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
util.cpp(185) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
util.cpp(200) : warning C4311: 'type cast' : pointer
truncation from 'LPSTR' to 'DWORD'
util.cpp(200) : warning C4312: 'type cast' : conversion from
'DWORD' to 'LPSTR' of greater size
util.cpp(295) : warning C4311: 'type cast' : pointer
truncation from 'PIMAGE_NT_HEADERS' to 'DWORD'
util.cpp(295) : warning C4312: 'type cast' : conversion from
'unsigned long' to 'PIMAGE_SECTION_HEADER' of greater size
util.cpp(311) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'int'
util.cpp(311) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(313) : warning C4311: 'type cast' : pointer
truncation from 'LPSTR' to 'int'
util.cpp(317) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(317) : warning C4312: 'type cast' : conversion from
'unsigned long' to 'RESOURCE_DIRECTORY *' of greater size
util.cpp(319) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'int'
util.cpp(319) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(325) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(325) : warning C4312: 'type cast' : conversion from
'unsigned long' to 'RESOURCE_DIRECTORY *' of greater size
util.cpp(327) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'int'
util.cpp(327) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(330) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(330) : warning C4312: 'type cast' : conversion from
'unsigned long' to '_IMAGE_RESOURCE_DATA_ENTRY *' of greater
size
util.cpp(332) : warning C4311: 'type cast' : pointer
truncation from 'PIMAGE_RESOURCE_DATA_ENTRY' to 'int'
util.cpp(332) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(351) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(351) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'unsigned long'
util.cpp(353) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'int'
util.cpp(353) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'int'
util.cpp(367) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(367) : warning C4312: 'type cast' : conversion from
'unsigned long' to 'RESOURCE_DIRECTORY *' of greater size
util.cpp(367) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(367) : warning C4312: 'type cast' : conversion from
'unsigned long' to '_IMAGE_RESOURCE_DATA_ENTRY *' of greater
size
util.cpp(367) : warning C4311: 'type cast' : pointer
truncation from 'PRESOURCE_DIRECTORY' to 'unsigned long'
util.cpp(367) : warning C4311: 'type cast' : pointer
truncation from 'unsigned char *' to 'unsigned long'
makenssi.cpp
makenssi.cpp(234) : warning C4312: 'type cast' : conversion
from 'long' to 'HWND' of greater size
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\uservars.h(16) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=uservarstring
]
exedata.cpp
build.cpp
build.cpp(368) : warning C4267: '=' : conversion from
'size_t' to 'DWORD', possible loss of data
build.cpp(552) : warning C4244: 'initializing' : conversion
from '__w64 int' to 'int', possible loss of data
build.cpp(588) : warning C4244: 'argument' : conversion from
'__w64 int' to 'int', possible loss of data
build.cpp(591) : warning C4244: 'argument' : conversion from
'__w64 int' to 'int', possible loss of data
build.cpp(617) : warning C4244: 'argument' : conversion from
'__w64 int' to 'int', possible loss of data
build.cpp(2420) : warning C4267: 'argument' : conversion
from 'size_t' to 'unsigned int', possible loss of data
build.cpp(2566) : warning C4267: 'initializing' : conversion
from 'size_t' to 'int', possible loss of data
build.cpp(2580) : warning C4267: 'initializing' : conversion
from 'size_t' to 'int', possible loss of data
build.cpp(2693) : warning C4267: 'initializing' : conversion
from 'size_t' to 'int', possible loss of data
build.cpp(2752) : warning C4244: 'initializing' : conversion
from '__w64 int' to 'int', possible loss of data
build.cpp(2811) : warning C4267: '=' : conversion from
'size_t' to 'int', possible loss of data
build.cpp(2819) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
build.cpp(2845) : warning C4267: 'argument' : conversion
from 'size_t' to 'unsigned int', possible loss of data
build.cpp(2888) : warning C4244: 'argument' : conversion
from '__w64 int' to 'int', possible loss of data
build.cpp(2905) : warning C4244: 'argument' : conversion
from '__w64 int' to 'int', possible loss of data
build.cpp(2919) : warning C4244: 'argument' : conversion
from '__w64 int' to 'int', possible loss of data
build.cpp(2977) : warning C4267: '=' : conversion from
'size_t' to 'int', possible loss of data
build.cpp(3146) : warning C4267: 'initializing' : conversion
from 'size_t' to 'DWORD', possible loss of data
build.cpp(3267) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
build.cpp(3307) : warning C4267: 'initializing' : conversion
from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\uservars.h(16) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=uservarstring
]
Compiling...
script.cpp
script.cpp(267) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
script.cpp(466) : warning C4244: 'argument' : conversion
from '__w64 int' to 'int', possible loss of data
script.cpp(809) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
script.cpp(809) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
script.cpp(809) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
script.cpp(809) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
script.cpp(809) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
script.cpp(809) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
script.cpp(809) : warning C4312: 'type cast' : conversion
from 'DWORD' to 'HKEY' of greater size
script.cpp(847) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
script.cpp(867) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
script.cpp(902) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
script.cpp(953) : warning C4267: 'argument' : conversion
from 'size_t' to 'int', possible loss of data
script.cpp(1907) : warning C4311: 'type cast' : pointer
truncation from 'HKEY' to 'int'
script.cpp(2193) : warning C4267: 'argument' : conversion
from 'size_t' to 'DWORD', possible loss of data
script.cpp(2273) : warning C4311: 'type cast' : pointer
truncation from 'char *' to 'DWORD'
script.cpp(2648) : warning C4267: 'initializing' :
conversion from 'size_t' to 'unsigned int', possible loss of
data
script.cpp(2698) : warning C4267: '+=' : conversion from
'size_t' to 'unsigned int', possible loss of data
script.cpp(4387) : warning C4267: 'argument' : conversion
from 'size_t' to 'DWORD', possible loss of data
script.cpp(4769) : warning C4311: 'type cast' : pointer
truncation from 'HKEY' to 'int'
script.cpp(4801) : warning C4311: 'type cast' : pointer
truncation from 'HKEY' to 'int'
script.cpp(4821) : warning C4311: 'type cast' : pointer
truncation from 'HKEY' to 'int'
script.cpp(4890) : warning C4311: 'type cast' : pointer
truncation from 'HKEY' to 'int'
c:\Program Files\NSIS\Source\strlist.h(138) : warning C4267:
'argument' : conversion from 'size_t' to 'int', possible
loss of data
c:\Program Files\NSIS\Source\strlist.h(133) : while
compiling class-template member function 'int
SortedStringListND<T>::add(const char *,int,int)'
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\uservars.h(16) : see
reference to class template instantiation
'SortedStringListND<T>' being compiled
with
[
T=uservarstring
]
c:\Program Files\NSIS\Source\strlist.h(176) : warning C4267:
'=' : conversion from 'size_t' to 'int', possible loss of data
c:\Program Files\NSIS\Source\strlist.h(152) : while
compiling class-template member function 'int
SortedStringListND<T>::find(const char *,int,int,int,int *)'
with
[
T=uservarstring
]
Linking...
Build log was saved at "file://c:\Program
Files\Nsis\Source\Release\BuildLog.htm"
makenssi - 0 error(s), 207 warning(s)
---------------------- Done ----------------------
Rebuild All: 4 succeeded, 0 failed, 0 skipped
Logged In: YES
user_id=584402
Originator: NO
The list is outdated. It's also kind of a duplicate of RFE #1306212 which asks for native x64 installers. I assume this bug report was created so the code can be built on x64 eventually.