Although it is not pressing, I tried to compile LyX as 64bit application
and this works, except of one error I just reported.
There are of course some compiler warnings. Fixing them is of course
also not pressing but maybe it is worth it to do it now for a LyX 2.2
that can be compiled as 64bit also on Linux and Mac.
Here is the list:
D:\LyXGit\Master\src\mathed\InsetMathGrid.cpp(240): warning C4244: '=':
conversion from '__int64' to 'unsigned int', possible loss of data
[D:\LyXGit\Master\compile-2015-x64\src\mathed\mathed.vcxproj]
D:\LyXGit\Master\src\mathed\InsetMathGrid.cpp(257): warning C4244: '=':
conversion from '__int64' to 'unsigned int', possible loss of data
[D:\LyXGit\Master\compile-2015-x64\src\mathed\mathed.vcxproj]
D:\LyXGit\Master\src\support\filetools.cpp(1068): warning C4311: 'type
cast': pointer truncation from 'HANDLE' to 'long'
[D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\support\filetools.cpp(1068): warning C4302: 'type
cast': truncation from 'HANDLE' to 'long'
[D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\support\ForkedCalls.cpp(213): warning C4312:
'<function-style-cast>': conversion from 'int' to 'HANDLE' of greater
size [D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\support\ForkedCalls.cpp(417): warning C4311: 'type
cast':pointer truncation from 'HANDLE' to 'int'
[D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\support\ForkedCalls.cpp(417): warning C4302: 'type
cast':truncation from 'HANDLE' to 'int'
[D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\support\ForkedCalls.cpp(589): warning C4312:
'<function-style-cast>': conversion from 'int' to 'HANDLE' of greater
size [D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\support\gzstream.cpp(92): warning C4244:
'initializing': conversion from '__int64' to 'int', possible loss of
data [D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\support\gzstream.cpp(113): warning C4244:
'initializing':conversion from '__int64' to 'int', possible loss of data
[D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\support/os_win32.cpp(559): warning C4311:
'reinterpret_cast': pointer truncation from 'HINSTANCE' to 'int'
(compiling source file D:\LyXGit\Master\src\support\os.cpp)
[D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\support/os_win32.cpp(559): warning C4302:
'reinterpret_cast': truncation from 'HINSTANCE' to 'int' (compiling
source file D:\LyXGit\Master\src\support\os.cpp)
[D:\LyXGit\Master\compile-2015-x64\src\support\support.vcxproj]
D:\LyXGit\Master\src\tex2lyx\Preamble.cpp(666): warning C4244:
'initializing':conversion from '__int64' to 'int', possible loss of data
[D:\LyXGit\Master\compile-2015-x64\src\tex2lyx\tex2lyx.vcxproj]
D:\LyXGit\Master\src\Author.cpp(111): warning C4244: 'return':
conversion from'__int64' to 'int', possible loss of data
[D:\LyXGit\Master\compile-2015-x64\src\tex2lyx\tex2lyx.vcxproj]
D:\LyXGit\Master\src\Author.cpp(113): warning C4244: 'initializing':
conversion from '__int64' to 'int', possible loss of data
[D:\LyXGit\Master\compile-2015-x64\src\tex2lyx\tex2lyx.vcxproj]
regards Uwe
- int64 compiler warnings Uwe Stöhr
-