Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2346

[Python] PYARROW_CXXFLAGS doesn't accept multiple options

    XMLWordPrintableJSON

    Details

      Description

      Let's say I want to enable multiple warnings. I try:

      PYARROW_CXXFLAGS="-Wextra -Wconversion" python setup.py build
      

      and get the following error:

      [ 22%] Building CXX object CMakeFiles/plasma.dir/plasma.cxx.o
      g++-4.9: error: unrecognized command line option '-Wextra -Wconversion'
      

      For some reason it seems command expansion doesn't work properly. "-Wextra -Wconversion" is passed as a single argument instead of two separate ones...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apitrou Antoine Pitrou
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: