Menu

#39 Compile error with timedb.inc.h

3.0
closed-fixed
nobody
None
5
2023-09-30
2023-09-27
No

Attempting to compile latest r702 version in Linux yields error:

In file included from src/timedb68.c:66:
src/timedb.inc.h:2:1: error: expected expression before 'const'
    2 | const unsigned char dat_aenigmatica[] = {
      | ^~~~~

Looks like in commit r701 the format for timedb.inc.h was changed quite drastically and is no longer compatible with where it's included in timedb68.c

Was this change to the header file accidental or is there another compile step I have to take?

Discussion

  • Ben G. Han

    Ben G. Han - 2023-09-29

    Complete mixed-up between 2 generated files. Fixing it ASAP.

     
  • Ben G. Han

    Ben G. Han - 2023-09-29

    Should be fixed.

     
  • Ben G. Han

    Ben G. Han - 2023-09-29
    • status: open --> closed-fixed
     
  • Robert Schultz

    Robert Schultz - 2023-09-30

    I can confirm that the latest r703 compiles just fine on my Linux system now. Thanks so much!

     

Log in to post a comment.

MongoDB Logo MongoDB