NeedWidePrototypes not defined correctly without imake
Alan Cox
alan at lxorguk.ukuu.org.uk
Mon Dec 6 04:29:04 PST 2004
On Llu, 2004-12-06 at 04:24, Keith Packard wrote:
> The only place I've found an actual problem is in Xaw where floating point
> values are passed as 'double' from applications and interpreted as 'float'
> in the library. This (oddly) causes things to break badly.
Not a suprise given the argument size on the stack changes. That would
make a bit of a mess
> Xlib is specified in terms of K&R C prototypes; I don't know who decided
> that it was OK to reinterpret them as ANSI C prototypes and change the
> effective types of all of the arguments, but there's not a lot we can do
> about it now; the effective ABI on Linux is the ANSI types, not the K&R
> types, and that effective ABI is *not used* unless you build with imake
> today.
>
> I don't know what to do to fix this. What a mess.
Fun fun fun, the LSB also relies on this undefined state of affairs.
Given almost nothing has broken and nobody uses imake you appear to have
a great deal of flexibility in how it gets fixed.
More information about the xorg
mailing list