Patch: Reorder #includes in ttconv/pprdrv_tt2.cpp

Attached is patch that moves
#include
to before
#include

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

0001-Reordered-include-so-that-PGI-C-compiler-will-build-.patch (658 Bytes)

···


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

404.385.2303
Wesley.Emeneker@…1027…
http://pace.gatech.edu

Thanks for the report -- filed as issue

https://github.com/matplotlib/matplotlib/issues/526

···

On Fri, Oct 14, 2011 at 6:30 AM, Wesley Emeneker <Wesley.Emeneker@...1027...> wrote:

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.