From: Vasiljevic Z. <zv...@ar...> - 2007-10-03 10:24:10
|
On 03.10.2007, at 11:55, Vasiljevic Zoran wrote: > > Normally this should be part of "inttypes.h". > Furthermore "stdint.h" is also not available > on Solaris... what a mess. I'm now informed... The XyZ constructs are normally integer formats that are defined to handle 32/64 bit situations in fprintf-like statements. This is not found in "older" operating systems, like Solaris 2.8. Unfortunately, we still support that and we need to have a solution for it. I will have to include some configure-time fiddling that would define those if the OS doesn't. This affects really only Solaris 2.8. I do not know how it affects Windows but we will learn that pretty soon... The "stdint.h" seems like it's not something standard as it does not appear on all plafroms (Solaris does not have that at all). The funny thing is: if I remove it from the nsthread.h (where it is included) all code compiles correctly. I guess nobody really needs that explicitly. If some platform needs it, it may be that the file is auto-included.... I will hence remove that include from nsthread.h, so I have no problems on Solaris. If there are objections to that, we must discuss it and find workarrunds. For the time being I will just do as said above. Cheers Zoran |