#35 Allows cvs (2.3.x) to compile with GCC 3.3

Jim Bentler

GCC 3.3 is more picky about syntax, so a few changes are
necessary to get things to compile.

First, the uint_64_t constants needed to have ULL appended to
the end of them to indicate that they are unsigned long longs. For
example, "#define MF_SPECIAL (uint_64_t)
(0x0000000000000001)" became "#define MF_SPECIAL

Second, static variables may only be initialized to constants. I
have attached a diff for the current 2.3.x branch with the
necessary changes to get it to compile in gcc 3.3.


  • Jim Bentler

    Jim Bentler - 2004-08-18

    patch to allow cvs (2.3.x) to compile with GCC 3.3

  • Nobody/Anonymous

    Logged In: NO

    The ULL part doesn't work in Visual C++ 6.0. Maybe this needs
    to be wrapped in a macro somehow? Or it needs to be ifdefed.

  • Florian Schulze

    Florian Schulze - 2004-08-23

    Logged In: YES

    If added an ifdef USE_ULL_SUFFIX in revision 1086. What
    remains to be done, is a test in configure.in. I don't know
    enough about configure.in to do it myself.

  • Florian Schulze

    Florian Schulze - 2004-08-28
    • status: open --> closed-fixed
  • Florian Schulze

    Florian Schulze - 2004-08-28

    Logged In: YES

    A test was added to configure.in in revision 1113.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks