From 012d92b631e3f945e80074af4b7be52c93768453 Mon Sep 17 00:00:00 2001 From: ski Date: Tue, 8 Oct 2013 16:06:12 +0400 Subject: [PATCH] 0024239: Eliminate GCC compiler warning (multi-line comment) --- src/DsgPrs/DsgPrs_SymmetricPresentation.cxx | 52 ++++++++++----------- src/LDOM/LDOM_CharReference.cxx | 2 +- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/DsgPrs/DsgPrs_SymmetricPresentation.cxx b/src/DsgPrs/DsgPrs_SymmetricPresentation.cxx index 8b35164dcd..0a9f4c8bab 100755 --- a/src/DsgPrs/DsgPrs_SymmetricPresentation.cxx +++ b/src/DsgPrs/DsgPrs_SymmetricPresentation.cxx @@ -137,17 +137,17 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese Standard_Real D1(aAxis.Distance(AttachmentPoint1)),coeff(.5); gp_Pnt pint,Pj_P1,P1Previous = P1; - //======================================================= - // TO AVOID CROSSING - // P1 -=- P2 P2 -=- P1 - // \<-->/ |<-->| - // \ / | | - // \/ | | - // /\ | | - // / \ | | - // Pattach2 /____\ Pattach1 Pattach2 /______\ Pattach1 - // / NO \ / YES \ - //======================================================= + /*======================================================= + TO AVOID CROSSING + P1 -=- P2 P2 -=- P1 + \<-->/ |<-->| + \ / | | + \/ | | + /\ | | + / \ | | + Pattach2 /____\ Pattach1 Pattach2 /______\ Pattach1 + / NO \ / YES \ + =======================================================*/ Standard_Boolean Cross = Standard_False; gp_Vec Attch1_PjAttch1(AttachmentPoint1,PjAttachPnt1); @@ -159,13 +159,13 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese P1 = P2; P2 = PntTempo; } - //=================================== - // FRACTURES OF TRAITS OF CALL - // / \ - // / \ - // | -=- | - // |<------------->| - //=================================== + /*=================================== + FRACTURES OF TRAITS OF CALL + / \ + / \ + | -=- | + |<------------->| + ===================================*/ gp_Vec Vfix; Standard_Real alpha,b; @@ -240,14 +240,14 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese 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) { //------ PROCESSING OF FACE ------------ diff --git a/src/LDOM/LDOM_CharReference.cxx b/src/LDOM/LDOM_CharReference.cxx index 0aaa1e26fa..a989d34c05 100755 --- a/src/LDOM/LDOM_CharReference.cxx +++ b/src/LDOM/LDOM_CharReference.cxx @@ -288,7 +288,7 @@ int LDOM_CharReference::myTab [256] = { NORMAL_C, // 059: Y NORMAL_C, // 05a: Z NORMAL_C, // 05b: [ - NORMAL_C, // 05c: \ + NORMAL_C, /* 05c: \ */ NORMAL_C, // 05d: ] NORMAL_C, // 05e: ^ NORMAL_C, // 05f: _