Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2369

Use C compiler to detect headers instead of C++ compiler

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: WT2.7.0
    • Fix Version/s: WT2.8.0
    • Labels:
      None
    • Sprint:
      Platforms 10 (02/19/16)

      Description

      WiredTiger's options.m4 uses the C++ compiler instead of the C compiler to check for several C headers:

      • snappy.h
      • lz4.h
      • gperftools/tcmalloc.h

      snappy.h is a C++ header while snappy-c.h is the C equivalent, and the one included by snappy_compress.c.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.benvenuto Mark Benvenuto
                Reporter:
                mark.benvenuto Mark Benvenuto
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: