Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3671

change VERSION to PDFILE_VERSION

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.1.0
    • None
    • Build
    • None
    • Debian Linux Squeeze 32bit
    • ALL

    Description

      Seems to be some comparability with linking against your library when using autoconf as autoconf defines VERSION.

      In file pch.h on lines 106

      // pdfile versions
      const int VERSION = 4;

      Its bad practice to declare a constant as common as VERSION without even doing a #ifdef before.

      My suggestion would be to rename VERSION to PDFILE_VERSION.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            adammagaluk Adam Magaluk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: