0023934: Compiler warnings in MS VC++ 10
authorabv <abv@opencascade.com>
Wed, 18 Sep 2013 05:13:42 +0000 (09:13 +0400)
committerabv <abv@opencascade.com>
Wed, 18 Sep 2013 05:13:42 +0000 (09:13 +0400)
commit105aae761ef27c49cd5ca924a7af7a602a61968e
tree7123a8ad4a1573bfec4739ec901ab460b01adf35
parent498ce76bdec726799ce0b7cc197a10ba879a6c72
0023934: Compiler warnings in MS VC++ 10

Elimination of compiler warnings
- ExprIntrp: generated file ExprIntrp.tab.c and related WOK scripts removed from the sources
- ExprIntrp, StepFile: added missing declarations and casts; warnings caused by Flex and Bison code suppressed for MSVC compuler by #pragma
- OSD: dummy #includes added to files containing no code for Windows, to avoid warning on empty file
- PLib: piece of code contained in PLib_ChangeDim.gxx included explicitly in cxx and cleaned
- Other places: some casts added to avoid warnings
39 files changed:
src/ApproxInt/ApproxInt_ImpPrmSvSurfaces.gxx
src/ApproxInt/ApproxInt_PrmPrmSvSurfaces.gxx
src/Aspect/Aspect.cxx
src/BSplCLib/BSplCLib_2.cxx
src/BSplCLib/BSplCLib_CurveComputation.gxx
src/BSplSLib/BSplSLib.cxx
src/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx
src/BinMNaming/BinMNaming_NamedShapeDriver.cxx
src/ExprIntrp/ExprIntrp.lex
src/ExprIntrp/ExprIntrp.tab.c [deleted file]
src/ExprIntrp/ExprIntrp.yacc
src/ExprIntrp/ExprIntrp_Replace.tcl [deleted file]
src/ExprIntrp/ExprIntrp_WOKSteps.edl [deleted file]
src/ExprIntrp/ExprIntrp_yacclex.cxx
src/ExprIntrp/FILES
src/Extrema/Extrema_GLocateExtCC.gxx
src/Extrema/Extrema_GLocateExtCC2d.gxx
src/Extrema/Extrema_GLocateExtPC.gxx
src/Geom2dAPI/Geom2dAPI_InterCurveCurve.cxx
src/Intf/Intf_InterferencePolygonPolyhedron.gxx
src/LDOM/LDOM_XmlReader.cxx
src/LProp/LProp_CLProps.gxx
src/OSD/OSD_Cmailbox.c
src/OSD/OSD_Csemaphore.c
src/OSD/OSD_Csharedmemory.c
src/OSD/OSD_MAllocHook.cxx
src/OpenGl/OpenGl_GraphicDriver_Export.cxx
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_Workspace_2.cxx
src/PLib/FILES
src/PLib/PLib.cxx
src/PLib/PLib_ChangeDim.gxx [deleted file]
src/QANCollection/QANCollection4.cxx
src/StepFile/recfile.pc
src/StepFile/step.lex
src/StepFile/step.yacc
src/TCollection/TCollection_ExtendedString.cxx
src/TopOpeBRepDS/TopOpeBRepDS_Curve.cxx
src/TopOpeBRepTool/TopOpeBRepTool_CORRISO.cxx