|
From: Jonathan D. <im...@ya...> - 2006-02-01 22:58:10
|
I'm fairly sure I have it look for stdint and to include it if (a) present and (b) the standard integer types aren't already being imported. My guess is the check I'm using for detecting the standard integer types is messed up and that stdint.h should always be included if present. If none of the standard headers known to have the types is present, it should then define the types itself, which is intended to be a fail-safe for all untested or unknown systems. The most probable path to cause a failure is if the sequence of checks is faulty, causing it to assume the types are defined when they really aren't. __const will suffer from a similar problem. In theory, if the "const" construct does not exist, __const is #defined to be nothing at all. If "const" appears to be known, then __const will be #defined to be const. Again, the check is clearly not working as intended. __const should be #defined to something else, so should not be appearing in an error message, for a start. Reminder to self: Download and install Solaris 10. For that matter, download and install as many freely downloadable OS' I can find. Oh, and buy a bigger hard drive. --- Terrence Cole <ter...@tr...> wrote: > Justin, > > I'm not personally familiar with Solaris 10, but my > first guess is that > mutils.h does not have stdint.h included. On > GNU/Linux at least, > stdint.h is included in many of the standard > headers, so it is possible > that it just isn't included by any of the standard > libraries on Solaris. > Since stdint.h is a POSIX (X/Open?) header, it > should be available on > Solaris, even if they aren't using it to define > their interfaces. > > Try putting a "#include <stdint.h>" at the top of > the common header -- I > know that there was some shuffling recently, but I > haven't had a chance > to look at the new layout. I would try mutils.h > first, since that is > where the errors are generated. > > Good Luck, > -Terrence > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Mhash-dev mailing list > Mha...@li... > https://lists.sourceforge.net/lists/listinfo/mhash-dev > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |