Menu

#3 Data Truncation Warnings in SSEPlus Emulation

v1.0 (example)
open
nobody
5
2008-06-05
2008-06-05
Anonymous
No

while compiling SSEPlus with Framewave, here are the warnings about possible loss of data due to data truncation and implicit type casting.

Following are Warnings

:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(526) : warning C4244: 'argument' : conversion from 'const int' to 'short', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1015) : NOTE SSEPlus SSE2 rounding functions overflow if input outside 32 bit integer range
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1050) : NOTE SSEPlus SSE2 rounding functions overflow if input outside 32 bit integer range
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1841) : warning C4244: 'initializing' : conversion from 'int' to 'unsigned char', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1842) : warning C4244: '=' : conversion from 'int' to 'ssp_u8', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1849) : warning C4244: 'initializing' : conversion from 'int' to 'unsigned char', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1850) : warning C4244: '=' : conversion from 'int' to 'ssp_u8', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1870) : warning C4244: 'initializing' : conversion from 'int' to 'ssp_u16', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1871) : warning C4244: '=' : conversion from 'int' to 'ssp_u16', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1878) : warning C4244: 'initializing' : conversion from 'int' to 'ssp_u16', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(1879) : warning C4244: '=' : conversion from 'int' to 'ssp_u16', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(2062) : warning C4244: '=' : conversion from 'int' to 'ssp_u8', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(2067) : warning C4244: '=' : conversion from 'int' to 'ssp_u8', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(2086) : warning C4244: '=' : conversion from 'int' to 'ssp_s8', possible loss of data
e:\library\projects\framewave\impl\fw_ssep\src\framewave\sseplus\include\arithmetic\../emulation/SSEPlus_emulation_SSE2.h(2091) : warning C4244: '=' : conversion from 'int' to 'ssp_s8', possible loss of data
scons: building terminated because of errors.

Discussion


Log in to post a comment.

Monday.com Logo