--- Module: CJHexEdit.cpp m_selStart = 0xffffffff; CJHexEdit.cpp(78): error 569: (Warning -- Loss of information (assignment) (32 bits to 31 bits)) m_selEnd = 0xffffffff; CJHexEdit.cpp(79): error 569: (Warning -- Loss of information (assignment) (32 bits to 31 bits)) } CJHexEdit.cpp(84): error 1401: (Warning -- member 'CCJHexEdit::m_lineHeight' (line 62, file ..\Include\CJHexEdit.h) not initialized by constructor) CJHexEdit.cpp(84): error 1401: (Warning -- member 'CCJHexEdit::m_nullWidth' (line 63, file ..\Include\CJHexEdit.h) not initialized by constructor) } CJHexEdit.cpp(89): error 1740: (Info -- pointer member 'CCJHexEdit::m_pData' (line 46, file ..\Include\CJHexEdit.h) not directly freed or zero'ed by destructor -- Effective C++ #6) TCHAR fmt[8] = {'%','0','8','l','X'}; CJHexEdit.cpp(189): error 785: (Info -- Too few initializers for aggregate) if(m_selStart != 0xffffffff && (m_currentMode == EDIT_HIGH || m_currentMode == EDIT_LOW)) CJHexEdit.cpp(208): error 650: (Warning -- Constant out of range for operator '!=') selStart ^= selEnd ^= selStart ^= selEnd; CJHexEdit.cpp(214): error 564: (Warning -- variable 'selStart' depends on order of evaluation) CJHexEdit.cpp(214): error 564: (Warning -- variable 'selStart' depends on order of evaluation) if(m_selStart != 0xffffffff && m_currentMode == EDIT_ASCII) CJHexEdit.cpp(302): error 650: (Warning -- Constant out of range for operator '!=') selStart ^= selEnd ^= selStart ^= selEnd; CJHexEdit.cpp(308): error 564: (Warning -- variable 'selStart' depends on order of evaluation) CJHexEdit.cpp(308): error 564: (Warning -- variable 'selStart' depends on order of evaluation) BOOL bsel = m_selStart != 0xffffffff; CJHexEdit.cpp(529): error 650: (Warning -- Constant out of range for operator '!=') m_selStart = 0xffffffff; CJHexEdit.cpp(531): error 569: (Warning -- Loss of information (assignment) (32 bits to 31 bits)) m_selEnd = 0xffffffff; CJHexEdit.cpp(532): error 569: (Warning -- Loss of information (assignment) (32 bits to 31 bits)) if(nFlags & MK_LBUTTON && m_selStart != 0xffffffff) CJHexEdit.cpp(603): error 650: (Warning -- Constant out of range for operator '!=') memcpy(p, m_pData+m_selStart, dwLen); CJHexEdit.cpp(1162): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) #... hextable[m_pData[m_selStart+i] >> 4];*p++ = hextable[m_pData[m_selStart+i TOHEX(m_pData[m_selStart+i], p); CJHexEdit.cpp(1169): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator '[' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) TOHEX(m_pData[m_selStart+i], p); CJHexEdit.cpp(1169): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator '[' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) memcpy(p, m_pData+m_selStart, dwLen); CJHexEdit.cpp(1190): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) memcpy(p, m_pData+m_selStart, dwLen); CJHexEdit.cpp(1195): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) During Specific Walk: File CJHexEdit.cpp line 689: OnEditCopy() CJHexEdit.cpp(1162): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) During Specific Walk: File CJHexEdit.cpp line 689: OnEditCopy() CJHexEdit.cpp(1169): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator '[' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) During Specific Walk: File CJHexEdit.cpp line 689: OnEditCopy() CJHexEdit.cpp(1169): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator '[' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) During Specific Walk: File CJHexEdit.cpp line 689: OnEditCopy() CJHexEdit.cpp(1190): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) During Specific Walk: File CJHexEdit.cpp line 689: OnEditCopy() CJHexEdit.cpp(1195): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) if(m_selStart == 0xffffffff) CJHexEdit.cpp(1236): error 650: (Warning -- Constant out of range for operator '==') memcpy(m_pData+insert, p, dwLen); CJHexEdit.cpp(1251): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) During Specific Walk: File CJHexEdit.cpp line 692: OnEditPaste() CJHexEdit.cpp(1251): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) memcpy(p, m_pData, s); CJHexEdit.cpp(1283): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 1 [Reference: file CJHexEdit.cpp: line 1282]) CJHexEdit.cpp(1283): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 2 [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) memcpy(p+s, m_pData+e, (m_length -e)); CJHexEdit.cpp(1285): error 613: (Warning -- Possible use of null pointer 'p' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: line 1282]) CJHexEdit.cpp(1285): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385]) During Specific Walk: File CJHexEdit.cpp line 709: SelDelete(0?, 1?) CJHexEdit.cpp(1283): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 1 [Reference: file CJHexEdit.cpp: line 1282]) During Specific Walk: File CJHexEdit.cpp line 709: SelDelete(0?, 1?) CJHexEdit.cpp(1283): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 2 [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282]) During Specific Walk: File CJHexEdit.cpp line 709: SelDelete(0?, 1?) CJHexEdit.cpp(1285): error 613: (Warning -- Possible use of null pointer 'p' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: line 1282]) During Specific Walk: File CJHexEdit.cpp line 709: SelDelete(0?, 1?) CJHexEdit.cpp(1285): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282]) During Specific Walk: File CJHexEdit.cpp line 956: SelDelete(39? | 0?, 40?) CJHexEdit.cpp(1283): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 1 [Reference: file CJHexEdit.cpp: line 1282]) During Specific Walk: File CJHexEdit.cpp line 956: SelDelete(39? | 0?, 40?) CJHexEdit.cpp(1283): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 2 [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282]) During Specific Walk: File CJHexEdit.cpp line 956: SelDelete(39? | 0?, 40?) CJHexEdit.cpp(1285): error 613: (Warning -- Possible use of null pointer 'p' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: line 1282]) During Specific Walk: File CJHexEdit.cpp line 956: SelDelete(39? | 0?, 40?) CJHexEdit.cpp(1285): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282]) During Specific Walk: File CJHexEdit.cpp line 1142: SelDelete(39? | 0?, 86? | 0?) CJHexEdit.cpp(1283): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 1 [Reference: file CJHexEdit.cpp: line 1282]) During Specific Walk: File CJHexEdit.cpp line 1142: SelDelete(39? | 0?, 86? | 0?) CJHexEdit.cpp(1283): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 2 [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282]) During Specific Walk: File CJHexEdit.cpp line 1142: SelDelete(39? | 0?, 86? | 0?) CJHexEdit.cpp(1285): error 613: (Warning -- Possible use of null pointer 'p' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: line 1282]) During Specific Walk: File CJHexEdit.cpp line 1142: SelDelete(39? | 0?, 86? | 0?) CJHexEdit.cpp(1285): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282]) memcpy(p, m_pData, s); CJHexEdit.cpp(1302): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 1 [Reference: file CJHexEdit.cpp: line 1301]) CJHexEdit.cpp(1302): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 2 [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282]) memcpy(p+s+l, m_pData+s, (m_length-s)); CJHexEdit.cpp(1303): error 613: (Warning -- Possible use of null pointer 'p' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: line 1301]) CJHexEdit.cpp(1303): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282]) During Specific Walk: File CJHexEdit.cpp line 946: SelInsert(39? | 0?, 1? | 0?) CJHexEdit.cpp(1302): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 1 [Reference: file CJHexEdit.cpp: line 1301]) During Specific Walk: File CJHexEdit.cpp line 946: SelInsert(39? | 0?, 1? | 0?) CJHexEdit.cpp(1302): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 2 [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282, 1301]) During Specific Walk: File CJHexEdit.cpp line 946: SelInsert(39? | 0?, 1? | 0?) CJHexEdit.cpp(1303): error 613: (Warning -- Possible use of null pointer 'p' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: line 1301]) During Specific Walk: File CJHexEdit.cpp line 946: SelInsert(39? | 0?, 1? | 0?) CJHexEdit.cpp(1303): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282, 1301]) During Specific Walk: File CJHexEdit.cpp line 1241: SelInsert(87? | 0?, ?) CJHexEdit.cpp(1302): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 1 [Reference: file CJHexEdit.cpp: line 1301]) During Specific Walk: File CJHexEdit.cpp line 1241: SelInsert(87? | 0?, ?) CJHexEdit.cpp(1302): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 2 [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282, 1301]) During Specific Walk: File CJHexEdit.cpp line 1241: SelInsert(87? | 0?, ?) CJHexEdit.cpp(1303): error 613: (Warning -- Possible use of null pointer 'p' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: line 1301]) During Specific Walk: File CJHexEdit.cpp line 1241: SelInsert(87? | 0?, ?) CJHexEdit.cpp(1303): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282, 1301]) During Specific Walk: File CJHexEdit.cpp line 1247: SelInsert(39? | 0?, ?) CJHexEdit.cpp(1302): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 1 [Reference: file CJHexEdit.cpp: line 1301]) During Specific Walk: File CJHexEdit.cpp line 1247: SelInsert(39? | 0?, ?) CJHexEdit.cpp(1302): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 2 [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282, 1301]) During Specific Walk: File CJHexEdit.cpp line 1247: SelInsert(39? | 0?, ?) CJHexEdit.cpp(1303): error 613: (Warning -- Possible use of null pointer 'p' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: line 1301]) During Specific Walk: File CJHexEdit.cpp line 1247: SelInsert(39? | 0?, ?) CJHexEdit.cpp(1303): error 613: (Warning -- Possible use of null pointer 'CCJHexEdit::m_pData' in left argument to operator 'ptr+int' [Reference: file CJHexEdit.cpp: lines 54, 154, 385, 1282, 1301]) memcpy(m_pData, p, len); CJHexEdit.cpp(1316): error 668: (Warning -- Possibly passing a null pointer to function 'memcpy(void *, const void *, unsigned int)', arg. no. 1 [Reference: file CJHexEdit.cpp: line 1315]) --- Global Wrap-up error 900: (Note -- Successful completion, 62 messages produced)