From: Donal K. F. <don...@ma...> - 2012-09-27 09:20:17
|
On 26/09/2012 21:43, Rene Zaumseil wrote: > Am Mittwoch, 26. September 2012, 22:23:35 schrieb Michael Schlenker: > > gcc 3.0.4 docs claim this should be supported: > > > > http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_5.html#SEC94 > > > > If thats not the case on IRIX, you should add a guard to that clause > > so the simple TCL_FORMAT_PRINTF(a,b) version is used, the __format__ > > stuff just does some extra security checks to detect bad printf usage > > patterns. > > Yeah, I could do it. But should it not come out of the box? But none of us know why it is broken on your system, and it sounds like it is probably a problem in the GCC documentation, or maybe in your installation. In any case, given that it is a simple thing to fix from your perspective (just change the arm of the '#if' taken), explain why we should something weird just to support your particular build on a platform that's no longer supported by its vendor with a compiler that's no longer supported by its vendor. There's a limit to what we can do. If we were to move to support this, we'd want to do it by adding more stuff to Tcl's configure script. But that's an area which is only really for the foolhardy (it's just cruft upon cruft, worse even than the ifdeffery in tclUnix*). Donal (I'm so glad I no longer use IRIX64...) |