Attached is patch that moves
#include <cstdlib>
to before
#include <cmath>

The Portland group compiler (v 11.8) won't build ttconv/pprdrv_tt2.cpp with
the original ordering.
This is most likely a compiler bug, but changing the include order seems
pretty harmless.

Thanks for the great tool.
I love matplotlib.


Wesley

-- 
Wesley Emeneker, Research Scientist
The Partnership for an Advanced Computing Environment
Georgia Institute of Technology

404.385.2303
wesley.emene...@oit.gatech.edu
http://pace.gatech.edu
From 27b17f333bc23d7a54d1932ae53f9c7f96cd4416 Mon Sep 17 00:00:00 2001
From: Wesley Emeneker <wesley.emene...@gmail.com>
Date: Fri, 14 Oct 2011 07:26:12 -0400
Subject: [PATCH] Reordered #include so that PGI C++ compiler will build matplotlib

---
 ttconv/pprdrv_tt2.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ttconv/pprdrv_tt2.cpp b/ttconv/pprdrv_tt2.cpp
index 61e2dd9..f8c8cef 100644
--- a/ttconv/pprdrv_tt2.cpp
+++ b/ttconv/pprdrv_tt2.cpp
@@ -33,8 +33,8 @@
 */
 
 #include "global_defines.h"
-#include <cmath>
 #include <cstdlib>
+#include <cmath>
 #include <cstring>
 #include <memory>
 #include "pprdrv.h"
-- 
1.7.4.1

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to