Revision: 71767
          http://sourceforge.net/p/brlcad/code/71767
Author:   starseeker
Date:     2018-09-20 17:04:11 +0000 (Thu, 20 Sep 2018)
Log Message:
-----------
GCC isn't happy about casts from pointer to integer and signed/unsigned type in 
conditional in if_ogl.c:1252 - comment out until this is sorted out to get 
build going again.

Modified Paths:
--------------
    brlcad/trunk/src/libfb/if_ogl.c

Modified: brlcad/trunk/src/libfb/if_ogl.c
===================================================================
--- brlcad/trunk/src/libfb/if_ogl.c     2018-09-20 16:34:33 UTC (rev 71766)
+++ brlcad/trunk/src/libfb/if_ogl.c     2018-09-20 17:04:11 UTC (rev 71767)
@@ -1247,7 +1247,7 @@
      (valuemask & CWColormap) ? printf(" colormap = %08X ", (unsigned 
int)((attributes)->colormap)) : 0, \
      (valuemask & CWCursor) ? printf(" cursor = %08X ", (unsigned 
int)((attributes)->cursor)) : 0, \
      printf(" }\n")) > 0 ? XCreateWindow(display, parent, x, y, width, height, 
border_width, depth, class, visual, valuemask, attributes) : -1;
-
+#if 0
     if (FB_DEBUG) {
        OGL(ifp)->wind = XCreateWindowDebug(OGL(ifp)->dispp,
                                            RootWindow(OGL(ifp)->dispp,
@@ -1258,6 +1258,7 @@
                                            OGL(ifp)->vip->visual,
                                            valuemask, &swa);
     } else {
+#endif
        OGL(ifp)->wind = XCreateWindow(OGL(ifp)->dispp,
                                       RootWindow(OGL(ifp)->dispp,
                                                  OGL(ifp)->vip->screen),
@@ -1266,7 +1267,9 @@
                                       InputOutput,
                                       OGL(ifp)->vip->visual,
                                       valuemask, &swa);
+#if 0
     }
+#endif
 
     XStoreName(OGL(ifp)->dispp, OGL(ifp)->wind, title);
 

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



_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to