Revision: 41900
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41900&view=rev
Author:   brlcad
Date:     2010-12-31 18:29:15 +0000 (Fri, 31 Dec 2010)

Log Message:
-----------
quell variety of compilation warnings for the last element in enum and structs 
having a trailing comma.  also quell redundant semicolon reporting by making 
the macro require a trailing semicolon.

Modified Paths:
--------------
    brlcad/trunk/src/other/openNURBS/opennurbs_annotation.h
    brlcad/trunk/src/other/openNURBS/opennurbs_annotation2.h
    brlcad/trunk/src/other/openNURBS/opennurbs_defines.h
    brlcad/trunk/src/other/openNURBS/opennurbs_dimstyle.h
    brlcad/trunk/src/other/openNURBS/opennurbs_hatch.h
    brlcad/trunk/src/other/openNURBS/opennurbs_linestyle.h
    brlcad/trunk/src/other/openNURBS/opennurbs_object.h

Modified: brlcad/trunk/src/other/openNURBS/opennurbs_annotation.h
===================================================================
--- brlcad/trunk/src/other/openNURBS/opennurbs_annotation.h     2010-12-31 
18:11:49 UTC (rev 41899)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_annotation.h     2010-12-31 
18:29:15 UTC (rev 41900)
@@ -159,7 +159,7 @@
     degreesym = 176,
     radiussym = 'R',
     diametersym = 216,
-    plusminussym = 177,
+    plusminussym = 177
   };
 
 

Modified: brlcad/trunk/src/other/openNURBS/opennurbs_annotation2.h
===================================================================
--- brlcad/trunk/src/other/openNURBS/opennurbs_annotation2.h    2010-12-31 
18:11:49 UTC (rev 41899)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_annotation2.h    2010-12-31 
18:29:15 UTC (rev 41900)
@@ -248,7 +248,7 @@
     degreesym = 176,
     radiussym = L'R',
     diametersym = 216,
-    plusminussym = 177,
+    plusminussym = 177
   };
 
 public:
@@ -347,7 +347,7 @@
     tjMiddleRight  = tjMiddle | tjRight,
     tjTopLeft      = tjTop    | tjLeft,
     tjTopCenter    = tjTop    | tjCenter,
-    tjTopRight     = tjTop    | tjRight,
+    tjTopRight     = tjTop    | tjRight
   };
 
   /*
@@ -1118,7 +1118,7 @@
     dim_pt_count    = 4, // number of m_points[] in a radial dim
 
     // Points calculated from values in m_points[]
-    text_pivot_pt = 10000, // start/end of dimension text at tail
+    text_pivot_pt = 10000 // start/end of dimension text at tail
   };
 
   ON_RadialDimension2();
@@ -1611,7 +1611,7 @@
   enum DIRECTION
   {
     x = 0,  // measures horizontally
-    y = 1,  // measures vertically
+    y = 1  // measures vertically
   };
 
   ON_OrdinateDimension2();

Modified: brlcad/trunk/src/other/openNURBS/opennurbs_defines.h
===================================================================
--- brlcad/trunk/src/other/openNURBS/opennurbs_defines.h        2010-12-31 
18:11:49 UTC (rev 41899)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_defines.h        2010-12-31 
18:29:15 UTC (rev 41900)
@@ -367,7 +367,7 @@
     dtDimRadius,
     dtLeader,
     dtTextBlock,
-    dtDimOrdinate,
+    dtDimOrdinate
   };
 
   static eAnnotationType AnnotationType(int); // convert integer to 
eAnnotationType enum
@@ -379,7 +379,7 @@
     dtNormal = 0,
     dtHorizontal = 1,
     dtAboveLine = 2,
-    dtInLine = 3,
+    dtInLine = 3
   };
 
   static eTextDisplayMode TextDisplayMode( int);
@@ -568,7 +568,7 @@
     G1_locus_continuous =  9, // locus continuous unit tangent
     G2_locus_continuous = 10, // locus continuous unit tangent and curvature
 
-    Cinfinity_continuous = 11, // analytic discontinuity
+    Cinfinity_continuous = 11 // analytic discontinuity
   };
 
   /*
@@ -855,7 +855,7 @@
                                 // the camera frame x,y,z direction must be
                                 // world x,y,z (which means the camera 
direction
                                 // is always (0,0,-1)).  
-    nested_view_type = 2,       // This view is a "model" view that is nested
+    nested_view_type = 2        // This view is a "model" view that is nested
                                 // in another view.  The nesting and parent
                                 // information is saved in ON_3dmView.
   };
@@ -993,7 +993,7 @@
     ctOnsurface,
     ctProxy,
     ctPolycurve,
-    ctPolyline,
+    ctPolyline
   };
 
 

Modified: brlcad/trunk/src/other/openNURBS/opennurbs_dimstyle.h
===================================================================
--- brlcad/trunk/src/other/openNURBS/opennurbs_dimstyle.h       2010-12-31 
18:11:49 UTC (rev 41899)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_dimstyle.h       2010-12-31 
18:29:15 UTC (rev 41900)
@@ -30,7 +30,7 @@
     arrow = 4,
     rectangle = 5,
     longtriangle = 6,     // 4:1
-    longertriangle = 7,   // 6:1
+    longertriangle = 7    // 6:1
   };
 
   ON_DimStyle();

Modified: brlcad/trunk/src/other/openNURBS/opennurbs_hatch.h
===================================================================
--- brlcad/trunk/src/other/openNURBS/opennurbs_hatch.h  2010-12-31 18:11:49 UTC 
(rev 41899)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_hatch.h  2010-12-31 18:29:15 UTC 
(rev 41900)
@@ -47,7 +47,7 @@
   enum eLoopType
   {
     ltOuter = 0,
-    ltInner = 1,
+    ltInner = 1
   };
 
   ON_HatchLoop();

Modified: brlcad/trunk/src/other/openNURBS/opennurbs_linestyle.h
===================================================================
--- brlcad/trunk/src/other/openNURBS/opennurbs_linestyle.h      2010-12-31 
18:11:49 UTC (rev 41899)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_linestyle.h      2010-12-31 
18:29:15 UTC (rev 41900)
@@ -93,7 +93,7 @@
   enum eSegType
   {
     stLine,
-    stSpace,
+    stSpace
   };
 
   void Dump( class ON_TextLog& ) const;

Modified: brlcad/trunk/src/other/openNURBS/opennurbs_object.h
===================================================================
--- brlcad/trunk/src/other/openNURBS/opennurbs_object.h 2010-12-31 18:11:49 UTC 
(rev 41899)
+++ brlcad/trunk/src/other/openNURBS/opennurbs_object.h 2010-12-31 18:29:15 UTC 
(rev 41900)
@@ -319,7 +319,7 @@
     /* virtual bool CopyFrom( const ON_Object* src )      */    \
                                                                 \
   public:                                                       \
-    cls * Duplicate() const;                                    \
+    cls * Duplicate() const                                     \
     /*Description: Expert level tool - no support available.*/  \
     /*If this class is derived from CRhinoObject, use 
CRhinoObject::DuplicateRhinoObject instead*/
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to