Re: cryptlib 3.4.2 / 3.4.3 beta build failure on OS X: integer constant is larger than the largest unsigned integer type
Ryan Schmidt <[email protected]> Thu, 2 Apr 2015 19:23:02 -0500
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
On Dec 13, 2014, at 6:32 PM, Ryan Schmidt wrote: > cryptlib 3.4.2 and 3.4.3 beta do not compile on OS X. The error is: "integer constant is larger than the largest unsigned integer type" > > Here is the MacPorts project's bug report about this, which includes a full build log: > > https://trac.macports.org/ticket/45675 It looks like this may be something we've done to ourselves. The problem goes away if I remove a patch that we've been using in MacPorts for the past 6 years, which adds these lines to the Mac OS X / iOS section of crypt/osconfig.h: https://trac.macports.org/browser/trunk/dports/devel/cryptlib/files/patch-crypt-osconfig.h.diff?rev=114713 #if defined( __LP64__ ) #undef SIXTY_FOUR_BIT #define SIXTY_FOUR_BIT_LONG #endif At first glance it seems like this might be reasonable, since similar directives are already in place in that file for *BSD and Linux operating systems, and OS X is based on BSD. And at the time this was committed to MacPorts 6 years ago, it presumably fixed something. However if you believe you are already detecting Mac 32-bit and 64-bit differences correctly in cryptlib 3.4.2 / 3.4.3 beta I'll remove this patch. _______________________________________________ Cryptlib mailing list [email protected] via Mail: [email protected] Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/ http://news.gmane.org/gmane.comp.encryption.cryptlib Posts from non-subscribed addresses are blocked to prevent spam, please subscribe in order to post messages.