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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Done
    • WT2.7.0
    • WT2.8.0
    • None
    • None
    • 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

              mark.benvenuto@mongodb.com Mark Benvenuto
              mark.benvenuto@mongodb.com Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: