Revision: 49029
          http://brlcad.svn.sourceforge.net/brlcad/?rev=49029&view=rev
Author:   erikgreenwald
Date:     2012-01-24 15:41:28 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
Wrap non-standard #warning to prevent build failure on msvc.

Modified Paths:
--------------
    brlcad/trunk/src/libbu/timer.c

Modified: brlcad/trunk/src/libbu/timer.c
===================================================================
--- brlcad/trunk/src/libbu/timer.c      2012-01-24 15:13:33 UTC (rev 49028)
+++ brlcad/trunk/src/libbu/timer.c      2012-01-24 15:41:28 UTC (rev 49029)
@@ -71,8 +71,11 @@
     return 1e6*count.QuadPart/freq.QuadPart;
 
 #  else /* HAVE_MMSYSTEM_H */
-#    warning "bu_gettime() implementation missing for this machine type"
-
+#    if _MSC_VER
+#         pragma NOTE("bu_gettime() implementation missing for this machine 
type")
+#    else
+#      warning "bu_gettime() implementation missing for this machine type"
+#    endif
     bu_log("timer.c: WARNING, no gettime implementation for this machine 
type.\n");
     return -1;
 

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


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to