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

[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: