View Issue Details

IDProjectCategoryView StatusLast Update
0009059Open CASCADEOCCT:Foundation Classespublic2006-06-29 09:15
ReporteragvAssigned Toimv  
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSWindows NT 
Fixed in Version5.2.3 
Summary0009059: Problems building 5.2.3 on .NET in Debug mode,
Description7 Problems building OCC 5.2.3 instaled from the WNT distribution
//cafex/qa/qa/opencascade5.2.3/.
Compiler: .NET (VC++ 7.1), Debug mode. _There is no problems in Release_ (build
successful in all cases).

_Problem 1:_

OSD_signal_WNT.cxx
\OS\OCC523\ros\src\OSD\OSD_signal_WNT.cxx(101) : error C2664: 'signal' : cannot
convert parameter 2 from 'void (__stdcall *)(int)' to 'void (__cdecl *)(int)'
        This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
\OS\OCC523\ros\src\OSD\OSD_signal_WNT.cxx(130) : error C2664: 'signal' : cannot
convert parameter 2 from 'void (__stdcall *)(int)' to 'void (__cdecl *)(int)'
        This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
\OS\OCC523\ros\src\OSD\OSD_signal_WNT.cxx(135) : error C2664: 'signal' : cannot
convert parameter 2 from 'void (__stdcall *)(int)' to 'void (__cdecl *)(int)'
        This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
\OS\OCC523\ros\src\OSD\OSD_signal_WNT.cxx(370) : error C2664: 'signal' : cannot
convert parameter 2 from 'void (__stdcall *)(int)' to 'void (__cdecl *)(int)'
        This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
\OS\OCC523\ros\src\OSD\OSD_signal_WNT.cxx(372) : error C2664: 'signal' : cannot
convert parameter 2 from 'void (__stdcall *)(int)' to 'void (__cdecl *)(int)'
        This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
\OS\OCC523\ros\src\OSD\OSD_signal_WNT.cxx(374) : error C2664: 'signal' : cannot
convert parameter 2 from 'void (__stdcall *)(int)' to 'void (__cdecl *)(int)'
        This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
\OS\OCC523\ros\src\OSD\OSD_signal_WNT.cxx(385) : error C2664:
'_set_se_translator' : cannot convert parameter 1 from 'void (unsigned
int,EXCEPTION_POINTERS *)' to '_se_translator_function'
        None of the functions with this name in scope match the target type


_Problem 2:_
TopOpeBRep_sort.cxx
\OS\OCC523\ros\src\TopOpeBRep\TopOpeBRep_sort.cxx(36) : error C2664: 'qsort' :
cannot convert parameter 4 from 'int (const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
        None of the functions with this name in scope match the target type

_Problem 3:_
WNT_ImageProcessor.cxx
\OS\OCC523\ros\src\WNT\WNT_ImageProcessor.cxx(2950) : error C2664: 'qsort' :
cannot convert parameter 4 from 'int (const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
        None of the functions with this name in scope match the target type
\OS\OCC523\ros\src\WNT\WNT_ImageProcessor.cxx(2957) : error C2664: 'qsort' :
cannot convert parameter 4 from 'int (const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
        None of the functions with this name in scope match the target type
\OS\OCC523\ros\src\WNT\WNT_ImageProcessor.cxx(2964) : error C2664: 'qsort' :
cannot convert parameter 4 from 'int (const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
        None of the functions with this name in scope match the target type
\OS\OCC523\ros\src\WNT\WNT_ImageProcessor.cxx(2988) : error C2664: 'qsort' :
cannot convert parameter 4 from 'int (const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
        None of the functions with this name in scope match the target type

_Problem 4:_
OpenGl_gl2ps.c
\OS\OCC523\ros\src\OpenGl\OpenGl_gl2ps.c(575) : error C2440: 'function' : cannot
convert from 'int (__stdcall *)(const void *,const void *)' to 'int (__cdecl
*)(const void *,const void *)'
\OS\OCC523\ros\src\OpenGl\OpenGl_gl2ps.c(575) : warning C4024: 'qsort' :
different types for formal and actual parameter 4


_Problem 5:_
OpenGl_highlight.c
\OS\OCC523\ros\src\OpenGl\OpenGl_highlight.c(131) : error C2440: 'function' :
cannot convert from 'int (__stdcall *)(const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
\OS\OCC523\ros\src\OpenGl\OpenGl_highlight.c(131) : warning C4024: 'qsort' :
different types for formal and actual parameter 4

_Problem 6:_
OpenGl_filters.c
\OS\OCC523\ros\src\OpenGl\OpenGl_filters.c(116) : error C2440: 'function' :
cannot convert from 'int (__stdcall *)(const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
\OS\OCC523\ros\src\OpenGl\OpenGl_filters.c(116) : warning C4024: 'qsort' :
different types for formal and actual parameter 4
\OS\OCC523\ros\src\OpenGl\OpenGl_filters.c(313) : error C2440: 'function' :
cannot convert from 'int (__stdcall *)(const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
\OS\OCC523\ros\src\OpenGl\OpenGl_filters.c(313) : warning C4024: 'qsort' :
different types for formal and actual parameter 4
\OS\OCC523\ros\src\OpenGl\OpenGl_filters.c(342) : error C2440: 'function' :
cannot convert from 'int (__stdcall *)(const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
\OS\OCC523\ros\src\OpenGl\OpenGl_filters.c(342) : warning C4024: 'qsort' :
different types for formal and actual parameter 4

_Problem 7:_
OpenGl_depthcue.c
\OS\OCC523\ros\src\OpenGl\OpenGl_depthcue.c(134) : error C2440: 'function' :
cannot convert from 'int (__stdcall *)(const void *,const void *)' to 'int
(__cdecl *)(const void *,const void *)'
\OS\OCC523\ros\src\OpenGl\OpenGl_depthcue.c(134) : warning C4024: 'qsort' :
different types for formal and actual parameter 4
TagsNo tags attached.
Test case number

Attached Files

  • OCC9059_patch.tgz (1,245 bytes)

Activities

2005-07-12 16:06

 

OCC9059_patch.tgz (1,245 bytes)

Issue History

Date Modified Username Field Change
2005-06-06 11:56 bugmaster Assigned To bugmaster => apv
2005-06-06 11:56 bugmaster Status new => assigned
2005-06-27 16:43 bugmaster Assigned To apv => agv
2005-07-11 13:04 bugmaster Assigned To agv => imv
2005-07-14 11:12 bugmaster CC => imv
2005-08-03 15:15 bugmaster Status assigned => closed
2005-08-03 15:15 bugmaster Resolution @0@ => fixed
2011-08-02 11:23 bugmaster Category OCCT:FDC => OCCT:Foundation Classes