|
From: Justin E. <jl_...@ho...> - 2006-02-02 22:46:33
|
Thanks for the info. I added #include <stdint.h> as the first line of mutils.h with no luck. I noticed the if-then in mincludes.h: #if defined(HAVE_INTTYPES_H) #include <inttypes.h> #else #if defined(HAVE_STDINT_H) #include <stdint.h> #endif #endif in the case of Solaris 10, it has both of those files. I'll play around with it and see if I can come up with anything. Justin >From: Jonathan Day <im...@ya...> >To: Terrence Cole <ter...@tr...>, Justin Ewing ><jl_...@ho...> >CC: mha...@li... >Subject: Re: [Mhash-dev] Solaris 10, mhash-0.9.4 >Date: Wed, 1 Feb 2006 14:57:58 -0800 (PST) > >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 _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |