bugMIT/GNU Scheme - Bugs: bug #23971, Cannot compile libdb interface...

 
 

bug #23971: Cannot compile libdb interface prdb4.c

Submitter:  Cedric Cellier <rixed>
Submitted:  Thu 31 Jul 2008 02:57:47 PM UTC
   
 
Category:  microcode Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  Fixed Privacy:  Public
Assigned to:  cph Originator Name: 
Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 31 Jul 2008 05:28:13 PM UTC, comment #1: 

This is already fixed in CVS, but thanks for the report.  The fix will be in the next release.

Chris Hanson <cph>
Group administrator
Thu 31 Jul 2008 02:57:47 PM UTC, original submission:  

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.

Cedric Cellier <rixed>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cph (Posted a comment)
  • -email is unavailable- added by rixed (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-07-31 cph StatusNone Fixed
        Assigned toNone cph
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code