1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

0024239: Eliminate GCC compiler warning (multi-line comment)

This commit is contained in:
ski 2013-10-08 16:06:12 +04:00 committed by bugmaster
parent 617cf08207
commit 012d92b631
2 changed files with 27 additions and 27 deletions

View File

@ -137,17 +137,17 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
Standard_Real D1(aAxis.Distance(AttachmentPoint1)),coeff(.5); Standard_Real D1(aAxis.Distance(AttachmentPoint1)),coeff(.5);
gp_Pnt pint,Pj_P1,P1Previous = P1; gp_Pnt pint,Pj_P1,P1Previous = P1;
//======================================================= /*=======================================================
// TO AVOID CROSSING TO AVOID CROSSING
// P1 -=- P2 P2 -=- P1 P1 -=- P2 P2 -=- P1
// \<-->/ |<-->| \<-->/ |<-->|
// \ / | | \ / | |
// \/ | | \/ | |
// /\ | | /\ | |
// / \ | | / \ | |
// Pattach2 /____\ Pattach1 Pattach2 /______\ Pattach1 Pattach2 /____\ Pattach1 Pattach2 /______\ Pattach1
// / NO \ / YES \ / NO \ / YES \
//======================================================= =======================================================*/
Standard_Boolean Cross = Standard_False; Standard_Boolean Cross = Standard_False;
gp_Vec Attch1_PjAttch1(AttachmentPoint1,PjAttachPnt1); gp_Vec Attch1_PjAttch1(AttachmentPoint1,PjAttachPnt1);
@ -159,13 +159,13 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
P1 = P2; P1 = P2;
P2 = PntTempo; P2 = PntTempo;
} }
//=================================== /*===================================
// FRACTURES OF TRAITS OF CALL FRACTURES OF TRAITS OF CALL
// / \ / \
// / \ / \
// | -=- | | -=- |
// |<------------->| |<------------->|
//=================================== ===================================*/
gp_Vec Vfix; gp_Vec Vfix;
Standard_Real alpha,b; Standard_Real alpha,b;
@ -240,14 +240,14 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
Prs3d_Root::CurrentGroup(aPresentation)->AddPrimitiveArray(aPrims); Prs3d_Root::CurrentGroup(aPresentation)->AddPrimitiveArray(aPrims);
} }
//=================================== /*===================================
// FRACTURES OF PROCESSING OF CALL FRACTURES OF PROCESSING OF CALL
// -=- -=-
// |<--------->| |<--------->|
// | | | |
// / \ / \
// / \ / \
//=================================== ===================================*/
else if (aAxis.Distance(P1) < D1*(1 - coeff) || Cross) { else if (aAxis.Distance(P1) < D1*(1 - coeff) || Cross) {
//------ PROCESSING OF FACE ------------ //------ PROCESSING OF FACE ------------

View File

@ -288,7 +288,7 @@ int LDOM_CharReference::myTab [256] = {
NORMAL_C, // 059: Y NORMAL_C, // 059: Y
NORMAL_C, // 05a: Z NORMAL_C, // 05a: Z
NORMAL_C, // 05b: [ NORMAL_C, // 05b: [
NORMAL_C, // 05c: \ NORMAL_C, /* 05c: \ */
NORMAL_C, // 05d: ] NORMAL_C, // 05d: ]
NORMAL_C, // 05e: ^ NORMAL_C, // 05e: ^
NORMAL_C, // 05f: _ NORMAL_C, // 05f: _