Revision: 77452
          http://sourceforge.net/p/brlcad/code/77452
Author:   starseeker
Date:     2020-10-15 13:46:12 +0000 (Thu, 15 Oct 2020)
Log Message:
-----------
C++17 doesn't like register

Modified Paths:
--------------
    brlcad/trunk/src/libtclcad/commands.cpp

Modified: brlcad/trunk/src/libtclcad/commands.cpp
===================================================================
--- brlcad/trunk/src/libtclcad/commands.cpp     2020-10-15 13:44:58 UTC (rev 
77451)
+++ brlcad/trunk/src/libtclcad/commands.cpp     2020-10-15 13:46:12 UTC (rev 
77452)
@@ -1030,7 +1030,7 @@
        int argc,
        char **argv)
 {
-    register struct to_cmdtab *ctp;
+    struct to_cmdtab *ctp;
     struct tclcad_obj *top = (struct tclcad_obj *)clientData;
     Tcl_DString ds;
     int ret = GED_ERROR;
@@ -2586,7 +2586,7 @@
     fastf_t vx, vy;
     fastf_t sf;
     point_t dpoint, vpoint;
-    register int i;
+    int i;
     fastf_t top_z = -MAX_FASTF;
     point_t top_point = VINIT_ZERO;
     size_t top_i = 0;
@@ -2628,7 +2628,7 @@
     /* check for polygon points */
     if (gdvp->gv_data_polygons.gdps_draw &&
            gdvp->gv_data_polygons.gdps_polygons.num_polygons) {
-       register size_t si, sj, sk;
+       size_t si, sj, sk;
 
        bview_data_polygon_state *gdpsp = &gdvp->gv_data_polygons;
 
@@ -4096,7 +4096,7 @@
        const char *usage,
        int UNUSED(maxargs))
 {
-    register int i;
+    int i;
 
     /* initialize result */
     bu_vls_trunc(gedp->ged_result_str, 0);
@@ -4139,7 +4139,7 @@
        const char *UNUSED(usage),
        int UNUSED(maxargs))
 {
-    register int i;
+    int i;
     struct tclcad_ged_data *tgd = (struct tclcad_ged_data 
*)current_top->to_gedp->u_data;
 
     /* initialize result */
@@ -4412,7 +4412,7 @@
        const char *usage,
        int UNUSED(maxargs))
 {
-    register int i;
+    int i;
     struct bu_vls bindings = BU_VLS_INIT_ZERO;
 
     /* must be double for scanf */
@@ -5408,7 +5408,7 @@
        const char *UNUSED(usage),
        int UNUSED(maxargs))
 {
-    register int i;
+    int i;
     struct tclcad_ged_data *tgd = (struct tclcad_ged_data 
*)current_top->to_gedp->u_data;
 
     /* initialize result */
@@ -6166,7 +6166,7 @@
        const char *usage,
        int UNUSED(maxargs))
 {
-    register int i;
+    int i;
 
     /* initialize result */
     bu_vls_trunc(gedp->ged_result_str, 0);
@@ -6584,7 +6584,7 @@
 to_create_vlist_callback_solid(struct solid *sp)
 {
     struct bview *gdvp;
-    register int first = 1;
+    int first = 1;
     struct tclcad_ged_data *tgd = (struct tclcad_ged_data 
*)current_top->to_gedp->u_data;
 
 

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



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to