bug-mit-scheme
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-mit-scheme] [bug #23971] Cannot compile libdb interface prdb4.c


From: Cedric Cellier
Subject: [Bug-mit-scheme] [bug #23971] Cannot compile libdb interface prdb4.c
Date: Thu, 31 Jul 2008 14:57:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.1) Gecko/2008071420 Iceweasel/3.0.1 (Debian-3.0.1-1)

URL:
  <http://savannah.gnu.org/bugs/?23971>

                 Summary: Cannot compile libdb interface prdb4.c
                 Project: MIT/GNU Scheme
            Submitted by: rixed
            Submitted on: Thursday 07/31/2008 at 16:57
                Category: microcode
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                Keywords: 

    _______________________________________________________

Details:

Concerning mit-scheme snapshot 20080130

UNIFIED_VERSION is build from libdb version constants like this :

#define UNIFIED_VERSION      \
  ((DB_VERSION_MAJOR * 0x10000)     \
   + (DB_VERSION_MINOR * 0x100)     \
   + DB_VERSION_PATCH)

And later on its checked like this :

#if UNIFIED_VERSION < 040300
   ...etc...
#endif

So UNIFIED_VERSION is computed in base 16 and tested in base 8 !
One should add an 'x' in every tests :

#if UNIFIED_VERSION < 0x40300
                       ^-- here

Then its OK.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?23971>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]