Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4896

cpp and c_glib include paths are added to source files when building

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Build Process
    • Labels:
      None

      Description

      AM_CPPFLAGS is used by cpp and c_glib. They both add their include directories to AM_CPPFLAGS. However, since thrift header files names are generic (e.g. Processor.h) and can be reused per language, like with cpp and cocoa (as of 0.12), there is possibility for conflict due cpp and cocoa using same header file names. Automake supports target_CPPFLAGS instead which appears to limit the compile flags scope.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                kwojniak_box Kevin Wojniak
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m