1

Trying to install cffi-1.7.0 source on python 3.4.3 on my linux machine. Getting the below error.

$ python setup.py install

cc1: error: unrecognized command line option "-Wno-unused-result" cc1: error: unrecognized command line option "-Wno-unused-result"

No working compiler found, or bogus compiler options
passed to the compiler from Python's distutils module.
See the error messages above.
(If they are about -mno-fused-madd and you are on OS/X 10.8,
see http://stackoverflow.com/questions/22313407/ .)

Can any one please help me on resolving this?

sanjay pujari
  • 459
  • 2
  • 7
  • 23

1 Answers1

0

The issue is resolved by setting below options.

setenv CFLAGS=-Qunused-arguments

setenv CPPFLAGS -Qunused-arguments

Thank you all for the help!

sanjay pujari
  • 459
  • 2
  • 7
  • 23