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

2008-08-11 Thread Peter C. Norton
: > (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, > Mi

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