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

Fix include file paths in lang/{java,python}

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.6.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      keithbostic noticed that an internal file that does #include <3rdparty/...> causes the python/java builds to fail. This is because the java Makefile and python setup.py }}did not have {{-Isrc/include on the build line. This commit this fixes that.

      It probably worked up to now because the SWIG modules use #include "src/include/wt_internal.h" and the top level directory is on the build line and other include files are found directly on that directory. Blame the complexity of gcc/clang include rules for why including a file in a subdirectory behaves differently.

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: