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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • WT2.8.0
    • Affects Version/s: WT2.7.0
    • Component/s: None
    • None
    • Platforms 10 (02/19/16)
    • None

      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.

            Assignee:
            Mark Benvenuto
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: