Re: [matplotlib-devel] Gcc, Solaris and putchar() problems

2008-08-12 Thread Michael Droettboom
I assume you mean renaming TTStreamWriter::putchar to TTStreamWriter::put_char. That would be fine. Once you confirm that solves your problem on Solaris, I'll test and commit it here. Cheers, Mike Peter C. Norton wrote: > Michael, > > I'm going to see if there is a fixincludes route to fixing

Re: [matplotlib-devel] Gcc, Solaris and putchar() problems

2008-08-11 Thread Peter C. Norton
Michael, I'm going to see if there is a fixincludes route to fixing this, but in case there isn't, is adding an additional name to the TTStreamWriter, eg. TTStreamWriter::put_char, out of the question? Thanks, -Peter On Thu, Jul 31, 2008 at 09:08:18AM -0400, Michael Droettboom wrote: > (Sorry f

Re: [matplotlib-devel] Gcc, Solaris and putchar() problems

2008-07-31 Thread Michael Droettboom
(Sorry for the delay, just back from vacation). I don't have access to that version of gcc on Solaris to test. However, if you find a preprocessor workaround that works for you, I'm happy to test it on Linux/Mac/Windows and commit. Cheers, Mike Peter C. Norton wrote: > On solaris with gcc-4.3.

[matplotlib-devel] Gcc, Solaris and putchar() problems

2008-07-23 Thread Peter C. Norton
On solaris with gcc-4.3.1, the macro __cplusplus is not defined to 199711L. This is a long-standing issue with solaris. This doesn't much matter on some platforms, but for matplotlib, what is happening to me is that through a series of defines and conditionals, the method putchar, as used here: ./