0024239: Eliminate GCC compiler warning (multi-line comment)
authorski <ski@opencascade.com>
Tue, 8 Oct 2013 12:06:12 +0000 (16:06 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 10 Oct 2013 13:08:55 +0000 (17:08 +0400)
src/DsgPrs/DsgPrs_SymmetricPresentation.cxx
src/LDOM/LDOM_CharReference.cxx

index 8b35164..0a9f4c8 100755 (executable)
@@ -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 ------------
index 0aaa1e2..a989d34 100755 (executable)
@@ -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: _