#93 new defect

Remove `-Wstrict-prototype` warnings from the build stage.

Reported by: nejucomo Owned by: zooko
Priority: minor Milestone:
Version: 0.5.29 Keywords:
Cc: Launchpad Bug:

Description

When I install pycryptopp the build stage emits many g++ warnings about -Wstrict-prototypes; specifically this:

cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++

Here is a full log of a fresh install via pip:

$ cd tmp/

$ mkdir pycryptopp-install-test

$ cd pycryptopp-install-test/

$ virtualenv .
Using real prefix '/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11'
New python executable in ./bin/python
Installing setuptools............done.
Installing pip...............done.

$ source ./bin/activate
(pycryptopp-install-test)
$ pip install pycryptopp
Downloading/unpacking pycryptopp
  Downloading pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958.tar.gz (2.0MB): 2.0MB downloaded
  Running setup.py egg_info for package pycryptopp

Requirement already satisfied (use --upgrade to upgrade): setuptools>=0.6a9 in ./lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg (from pycryptopp)
Installing collected packages: pycryptopp
  Running setup.py install for pycryptopp

    building 'pycryptopp._pycryptopp' extension
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/hex.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/hex.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/rng.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/rng.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/oaep.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/oaep.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/algebra.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/algebra.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/dll.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/dll.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/asn.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/asn.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/pkcspad.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/pkcspad.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/rsa.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/rsa.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/strciphr.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/strciphr.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/dsa.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/dsa.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/cpu.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/cpu.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/randpool.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/randpool.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/salsa.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/salsa.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/nbtheory.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/nbtheory.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/eprecomp.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/eprecomp.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/des.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/des.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/dessp.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/dessp.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/hmac.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/hmac.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/pubkey.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/pubkey.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/integer.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/integer.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/queue.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/queue.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/cryptlib.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/cryptlib.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/serpent.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/serpent.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/iterhash.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/iterhash.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/misc.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/misc.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/ec2n.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/ec2n.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/rijndael.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/rijndael.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/filters.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/filters.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/pssr.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/pssr.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/basecode.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/basecode.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/sosemanuk.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/sosemanuk.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/tigertab.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/tigertab.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/sha.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/sha.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/modes.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/modes.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/ecp.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/ecp.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/algparam.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/algparam.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/fips140.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/fips140.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/tiger.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/tiger.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/osrng.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/osrng.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/mqueue.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/mqueue.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/eccrypto.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/eccrypto.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/gfpcrypt.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/gfpcrypt.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/gf2n.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/gf2n.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-cryptopp/rdtables.cpp -o build/temp.linux-x86_64-2.7/src-cryptopp/rdtables.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src/pycryptopp/_pycryptoppmodule.cpp -o build/temp.linux-x86_64-2.7/src/pycryptopp/_pycryptoppmodule.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src/pycryptopp/publickey/rsamodule.cpp -o build/temp.linux-x86_64-2.7/src/pycryptopp/publickey/rsamodule.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src/pycryptopp/hash/sha256module.cpp -o build/temp.linux-x86_64-2.7/src/pycryptopp/hash/sha256module.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src/pycryptopp/cipher/aesmodule.cpp -o build/temp.linux-x86_64-2.7/src/pycryptopp/cipher/aesmodule.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src/pycryptopp/cipher/xsalsa20module.cpp -o build/temp.linux-x86_64-2.7/src/pycryptopp/cipher/xsalsa20module.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src/pycryptopp/publickey/ecdsamodule.cpp -o build/temp.linux-x86_64-2.7/src/pycryptopp/publickey/ecdsamodule.o -w
    cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
    g++ -pthread -shared build/temp.linux-x86_64-2.7/src-cryptopp/hex.o build/temp.linux-x86_64-2.7/src-cryptopp/rng.o build/temp.linux-x86_64-2.7/src-cryptopp/oaep.o build/temp.linux-x86_64-2.7/src-cryptopp/algebra.o build/temp.linux-x86_64-2.7/src-cryptopp/dll.o build/temp.linux-x86_64-2.7/src-cryptopp/asn.o build/temp.linux-x86_64-2.7/src-cryptopp/pkcspad.o build/temp.linux-x86_64-2.7/src-cryptopp/rsa.o build/temp.linux-x86_64-2.7/src-cryptopp/strciphr.o build/temp.linux-x86_64-2.7/src-cryptopp/dsa.o build/temp.linux-x86_64-2.7/src-cryptopp/cpu.o build/temp.linux-x86_64-2.7/src-cryptopp/randpool.o build/temp.linux-x86_64-2.7/src-cryptopp/salsa.o build/temp.linux-x86_64-2.7/src-cryptopp/nbtheory.o build/temp.linux-x86_64-2.7/src-cryptopp/eprecomp.o build/temp.linux-x86_64-2.7/src-cryptopp/des.o build/temp.linux-x86_64-2.7/src-cryptopp/dessp.o build/temp.linux-x86_64-2.7/src-cryptopp/hmac.o build/temp.linux-x86_64-2.7/src-cryptopp/pubkey.o build/temp.linux-x86_64-2.7/src-cryptopp/integer.o build/temp.linux-x86_64-2.7/src-cryptopp/queue.o build/temp.linux-x86_64-2.7/src-cryptopp/cryptlib.o build/temp.linux-x86_64-2.7/src-cryptopp/serpent.o build/temp.linux-x86_64-2.7/src-cryptopp/iterhash.o build/temp.linux-x86_64-2.7/src-cryptopp/misc.o build/temp.linux-x86_64-2.7/src-cryptopp/ec2n.o build/temp.linux-x86_64-2.7/src-cryptopp/rijndael.o build/temp.linux-x86_64-2.7/src-cryptopp/filters.o build/temp.linux-x86_64-2.7/src-cryptopp/pssr.o build/temp.linux-x86_64-2.7/src-cryptopp/basecode.o build/temp.linux-x86_64-2.7/src-cryptopp/sosemanuk.o build/temp.linux-x86_64-2.7/src-cryptopp/tigertab.o build/temp.linux-x86_64-2.7/src-cryptopp/sha.o build/temp.linux-x86_64-2.7/src-cryptopp/modes.o build/temp.linux-x86_64-2.7/src-cryptopp/ecp.o build/temp.linux-x86_64-2.7/src-cryptopp/algparam.o build/temp.linux-x86_64-2.7/src-cryptopp/fips140.o build/temp.linux-x86_64-2.7/src-cryptopp/tiger.o build/temp.linux-x86_64-2.7/src-cryptopp/osrng.o build/temp.linux-x86_64-2.7/src-cryptopp/mqueue.o build/temp.linux-x86_64-2.7/src-cryptopp/eccrypto.o build/temp.linux-x86_64-2.7/src-cryptopp/gfpcrypt.o build/temp.linux-x86_64-2.7/src-cryptopp/gf2n.o build/temp.linux-x86_64-2.7/src-cryptopp/rdtables.o build/temp.linux-x86_64-2.7/src/pycryptopp/_pycryptoppmodule.o build/temp.linux-x86_64-2.7/src/pycryptopp/publickey/rsamodule.o build/temp.linux-x86_64-2.7/src/pycryptopp/hash/sha256module.o build/temp.linux-x86_64-2.7/src/pycryptopp/cipher/aesmodule.o build/temp.linux-x86_64-2.7/src/pycryptopp/cipher/xsalsa20module.o build/temp.linux-x86_64-2.7/src/pycryptopp/publickey/ecdsamodule.o -o build/lib.linux-x86_64-2.7/pycryptopp/_pycryptopp.so
    building 'pycryptopp.publickey.ed25519._ed25519' extension
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc-ed25519/supercop-ref -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-ed25519/glue/ed25519module.c -o build/temp.linux-x86_64-2.7/src-ed25519/glue/ed25519module.o
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc-ed25519/supercop-ref -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-ed25519/supercop-ref/sha512-blocks.c -o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/sha512-blocks.o
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc-ed25519/supercop-ref -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-ed25519/supercop-ref/ed25519.c -o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/ed25519.o
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc-ed25519/supercop-ref -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-ed25519/supercop-ref/fe25519.c -o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/fe25519.o
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc-ed25519/supercop-ref -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-ed25519/supercop-ref/sha512-hash.c -o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/sha512-hash.o
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc-ed25519/supercop-ref -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-ed25519/supercop-ref/sc25519.c -o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/sc25519.o
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc-ed25519/supercop-ref -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-ed25519/supercop-ref/verify.c -o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/verify.o
    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc-ed25519/supercop-ref -I/usr/local/bin/../stow/Python-2.7.3-setuptools-0.6c11/include/python2.7 -c src-ed25519/supercop-ref/ge25519.c -o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/ge25519.o
    gcc -pthread -shared build/temp.linux-x86_64-2.7/src-ed25519/glue/ed25519module.o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/sha512-blocks.o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/ed25519.o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/fe25519.o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/sha512-hash.o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/sc25519.o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/verify.o build/temp.linux-x86_64-2.7/src-ed25519/supercop-ref/ge25519.o -o build/lib.linux-x86_64-2.7/pycryptopp/publickey/ed25519/_ed25519.so
Successfully installed pycryptopp
Cleaning up...

Change History (4)

comment:1 Changed at 2013-07-26T03:31:02Z by davidsarah

<grumble> I don't know why g++ has to warn about "-Wstrict-prototypes"; it's not as though it isn't completely obvious what was intended, and it just makes it harder to specify build flags that work for multiple languages, for no good reason. </grumble>

comment:2 follow-up: Changed at 2013-07-26T22:51:58Z by zooko

It is distutils that passes "-Wstrict-prototypes" to all command-lines, regardless of whether it is C or C++ code. So I propose that we link this to a distutils bug ticket (possibly creating one if necessary) and close this ticket as "someone else's problem".

comment:3 in reply to: ↑ 2 Changed at 2013-08-02T02:40:04Z by davidsarah

Replying to zooko:

It is distutils that passes "-Wstrict-prototypes" to all command-lines, regardless of whether it is C or C++ code. So I propose that we link this to a distutils bug ticket (possibly creating one if necessary) and close this ticket as "someone else's problem".

+1

comment:4 Changed at 2013-08-02T02:40:38Z by davidsarah

  • Owner set to zooko
Note: See TracTickets for help on using tickets.