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

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

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

      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@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: