[Matplotlib-users] Issues with clang when building on MacOS 10.7

2012-02-23 Thread Thomas Robitaille
Hello, I am trying to build the latest version of matplotlib from the git repository (1cd07a6c) on MacOS 10.7, and regardless of whether I build using the make.osx file or just 'python setup.py build', the C files get compiled with clang, and clang raises an error on one of the files:

Re: [Matplotlib-users] Issues with clang when building on MacOS 10.7

2012-02-23 Thread Michael Droettboom
It looks like a bug in agg that the stricter clang is picking up. If you change agg24/include/agg_renderer_outline_aa.h:1368 to read: const line_profile_aa profile() { return *m_profile; } does that help? (There's probably other cases like this behind it). I don't have a complete OS-X

Re: [Matplotlib-users] Issues with clang when building on MacOS 10.7

2012-02-23 Thread Michael Droettboom
I got my OS-X machine going again -- I'm looking into this further now. Mike On 02/23/2012 10:19 AM, Michael Droettboom wrote: It looks like a bug in agg that the stricter clang is picking up. If you change agg24/include/agg_renderer_outline_aa.h:1368 to read: const line_profile_aa

Re: [Matplotlib-users] Issues with clang when building on MacOS 10.7

2012-02-23 Thread Michael Droettboom
It seems this was the only source of errors. There is a pull request here: https://github.com/matplotlib/matplotlib/pull/713 There are plenty of warnings that should probably also be dealt with, but this at least allows compilation to complete for now. Mike On 02/23/2012 10:27 AM, Michael