← Back to team overview

desktop-packages team mailing list archive

[Bug 647953] Re: evolution-data-server header file contains illegal MICRO_VERSION

 

[Expired for evolution-data-server (Ubuntu) because there has been no
activity for 60 days.]

** Changed in: evolution-data-server (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evolution-data-server in Ubuntu.
https://bugs.launchpad.net/bugs/647953

Title:
  evolution-data-server header file contains illegal MICRO_VERSION

Status in “evolution-data-server” package in Ubuntu:
  Expired

Bug description:
  Binary package hint: evolution-data-server-dev

  evolution-data-server dev 2.28.3.1-0ubuntu5 contains an upstream bug,
  as far as I can see.

  /usr/include/evolution-data-server-2.28/libedataserver/eds-version.h contains
     #define EDS_MICRO_VERSION 3.1

  and
    #define EDS_CHECK_VERSION(major,minor,micro) \
          (EDS_MAJOR_VERSION > (major) || \
          (EDS_MAJOR_VERSION == (major) && EDS_MINOR_VERSION > (minor)) || \
          (EDS_MAJOR_VERSION == (major) && EDS_MINOR_VERSION == (minor)) && \
           EDS_MICRO_VERSION >= (micro))

  If you try to use EDS_CHECK_VERSION, the pre-processor complains with
  "error: floating constant in preprocessor expression"

  The problem is the MICRO_VERSION should be an integer.
  Looks like upstream carelessness, fixed on the 2.28 upstream eds branch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/647953/+subscriptions