Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4560

C++ API should not depend on ink_autoconf.h

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2.0, 7.0.0
    • Component/s: CPP API
    • Labels:
      None

      Description

      atscppapi/shared_ptr.h includes ink_autoconf.h. ink_autoconf.h is not installed (and must not be installed). This makes it impossible for people to consume the C++ API.

      It is totally reasonable IMHO to expect to be able to build plugins with a different toolchain than Traffic Server was built with. Consider installing devtoolset-3 and building plugins against a distribution package, or building plugins with clang.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamespeach James Peach
                Reporter:
                jamespeach James Peach

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Issue deployment