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

 
 

bug #23971: Cannot compile libdb interface prdb4.c

Submitted by:  Cedric Cellier <rixed>
Submitted on:  Thu 31 Jul 2008 02:57:47 PM UTC  
 
Category: microcodeSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect behavior
Status: FixedPrivacy: Public
Assigned to: Chris Hanson <cph>Originator Name: 
Open/Closed: Closed
Keywords: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 31 Jul 2008 05:28:13 PM UTCcphStatusNone=>Fixed
      Assigned toNone=>cph
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1