cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/lib/p4/include/p4/clientapi.h:7, from P4API.cpp:44: /usr/lib/p4/include/p4/stdhdrs.h:288: warning: "HAVE_MMAP" redefined 288 | # define HAVE_MMAP | In file included from /usr/include/python2.7/Python.h:8, from P4API.cpp:39: /usr/include/python2.7/pyconfig.h:513: note: this is the location of the previous definition 513 | #define HAVE_MMAP 1 | In file included from /usr/include/python2.7/Python.h:88, from P4API.cpp:39: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from P4API.cpp:39: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/incgcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DID_OS="LINUX44X86" -DID_REL="2010.1" -DID_PATCH="251161" -DID_API="2010.1" -DID_Y="2010" -DID_M="06" -DID_D="16" -I/usr/lib/p4 -I/usr/lib/p4/include/p4 -I/usr/include/python2.7 -c PythonClientAPI.cpp -o build/temp.linux-i686-2.7/PythonClientAPI.o -DOS_LINUX -DOS_LINUX44 -DOS_LINUXX86 -DOS_LINUX44X86 gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DID_OS="LINUX44X86" -DID_REL="2010.1" -DID_PATCH="251161" -DID_API="2010.1" -DID_Y="2010" -DID_M="06" -DID_D="16" -I/usr/lib/p4 -I/usr/lib/p4/include/p4 -I/usr/include/python2.7 -c PythonClientUser.cpp -o build/temp.linux-i686-2.7/PythonClientUser.o -DOS_LINUX -DOS_LINUX44 -DOS_LINUXX86 -DOS_LINUX44X86 gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DID_OS="LINUX44X86" -DID_REL="2010.1" -DID_PATCH="251161" -DID_API="2010.1" -DID_Y="2010" -DID_M="06" -DID_D="16" -I/usr/lib/p4 -I/usr/lib/p4/include/p4 -I/usr/include/python2.7 -c SpecMgr.cpp -o build/temp.linux-i686-2.7/SpecMgr.o -DOS_LINUX -DOS_LINUX44 -DOS_LINUXX86 -DOS_LINUX44X86 gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DID_OS="LINUX44X86" -DID_REL="2010.1" -DID_PATCH="251161" -DID_API="2010.1" -DID_Y="2010" -DID_M="06" -DID_D="16" -I/usr/lib/p4 -I/usr/lib/p4/include/p4 -I/usr/include/python2.7 -c P4Result.cpp -o build/temp.linux-i686-2.7/P4Result.o -DOS_LINUX -DOS_LINUX44 -DOS_LINUXX86 -DOS_LINUX44X86 gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DID_OS="LINUX44X86" -DID_REL="2010.1" -DID_PATCH="251161" -DID_API="2010.1" -DID_Y="2010" -DID_M="06" -DID_D="16" -I/usr/lib/p4 -I/usr/lib/p4/include/p4 -I/usr/include/python2.7 -c PythonMergeData.cpp -o build/temp.linux-i686-2.7/PythonMergeData.o -DOS_LINUX -DOS_LINUX44 -DOS_LINUXX86 -DOS_LINUX44X86 gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DID_OS="LINUX44X86" -DID_REL="2010.1" -DID_PATCH="251161" -DID_API="2010.1" -DID_Y="2010" -DID_M="06" -DID_D="16" -I/usr/lib/p4 -I/usr/lib/p4/include/p4 -I/usr/include/python2.7 -c P4MapMaker.cpp -o build/temp.linux-i686-2.7/P4MapMaker.o -DOS_LINUX -DOS_LINUX44 -DOS_LINUXX86 -DOS_LINUX44X86 gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DID_OS="LINUX44X86" -DID_REL="2010.1" -DID_PATCH="251161" -DID_API="2010.1" -DID_Y="2010" -DID_M="06" -DID_D="16" -I/usr/lib/p4 -I/usr/lib/p4/include/p4 -I/usr/include/python2.7 -c PythonSpecData.cpp -o build/temp.linux-i686-2.7/PythonSpecData.o -DOS_LINUX -DOS_LINUX44 -DOS_LINUXX86 -DOS_LINUX44X86 g++ -pthread -shared build/temp.linux-i686-2.7/P4API.o build/temp.linux-i686-2.7/PythonClientAPI.o build/temp.linux-i686-2.7/PythonClientUser.o build/temp.linux-i686-2.7/SpecMgr.o build/temp.linux-i686-2.7/P4Result.o build/temp.linux-i686-2.7/PythonMergeData.o build/temp.linux-i686-2.7/P4MapMaker.o build/temp.linux-i686-2.7/PythonSpecData.o -L/usr/lib/p4 -L/usr/lib/p4/lib -L/usr/lib -lclient -lrpc -lsupp -lpython2.7 -o build/lib.linux-i686-2.7/P4API.so running install_lib creating /usr/src/slapt-src/python/p4python/package-p4python/usr creating /usr/src/slapt-src/python/p4python/package-p4python/usr/lib creating /usr/src/slapt-src/python/p4python/package-p4python/usr/lib/python2.7 creating /usr/src/slapt-src/python/p4python/package-p4python/usr/lib/python2.7/site-packages copying build/lib.linux-i686-2.7/P4.py -> /usr/src/slapt-src/python/p4python/package-p4python/usr/lib/python2.7/site-packages copying build/lib.linux-i686-2.7/P4API.so -> /usr/src/slapt-src/python/p4python/package-p4python/usr/lib/python2.7/site-packages byte-compiling /usr/src/slapt-src/python/p4python/package-p4python/usr/lib/python2.7/site-packages/P4.py to P4.pyc running install_egg_info Writing /usr/src/slapt-src/python/p4python/package-p4python/usr/lib/python2.7/site-packages/P4Python-2010.1-py2.7.egg-info Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/python/p4python/p4python-2010.1-i586-1salix15.0.txz Slackware package /usr/src/slapt-src/python/p4python/p4python-2010.1-i586-1salix15.0.txz created. Installing package p4python-2010.1-i586-1salix15.0... | p4python (python bindings for Perforce api) | | Perforce is the fast SCM system at www.perforce.com. | This package provides a simple interface from Python wrapping the | Perforce C++ API to gain performance and ease of coding. | Similar to interfaces available for Ruby and Perl. | | | | | | | /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pointer to length variable or NULL | ^~~ PythonClientUser.cpp: In member function ‘virtual int PythonClientUser::Resolve(ClientMerge*, Error*)’: PythonClientUser.cpp:424:67: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 424 | PyObject * result = PyObject_CallMethod( this->resolver , "resolve", "(O)", mergeData ); | ^~~~~~~~~ PythonClientUser.cpp:424:78: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 424 | PyObject * result = PyObject_CallMethod( this->resolver , "resolve", "(O)", mergeData ); | ^~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/lib/p4/include/p4/clientapi.h:7, from SpecMgr.cpp:41: /usr/lib/p4/include/p4/stdhdrs.h:288: warning: "HAVE_MMAP" redefined 288 | # define HAVE_MMAP | In file included from /usr/include/python2.7/Python.h:8, from SpecMgr.cpp:37: /usr/include/python2.7/pyconfig.h:513: note: this is the location of the previous definition 513 | #define HAVE_MMAP 1 | In file included from /usr/include/python2.7/Python.h:88, from SpecMgr.cpp:37: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from SpecMgr.cpp:37: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pointer to length variable or NULL | ^~~ SpecMgr.cpp: In member function ‘PyObject* SpecMgr::NewSpec(StrPtr*)’: SpecMgr.cpp:552:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 552 | PyObject * newObj = PyObject_CallMethod(module, "Spec", "(O)", fields); | ^~~~~~ SpecMgr.cpp:552:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 552 | PyObject * newObj = PyObject_CallMethod(module, "Spec", "(O)", fields); | ^~~~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/lib/p4/include/p4/clientapi.h:7, from P4Result.cpp:34: /usr/lib/p4/include/p4/stdhdrs.h:288: warning: "HAVE_MMAP" redefined 288 | # define HAVE_MMAP | In file included from /usr/include/python2.7/Python.h:8, from P4Result.cpp:30: /usr/include/python2.7/pyconfig.h:513: note: this is the location of the previous definition 513 | #define HAVE_MMAP 1 | In file included from /usr/include/python2.7/Python.h:88, from P4Result.cpp:30: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from P4Result.cpp:30: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pointer to length variable or NULL | ^~~ P4Result.cpp: In member function ‘void P4Result::Fmt(const char*, PyObject*, StrBuf&)’: P4Result.cpp:191:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 191 | PyObject * str = PyObject_CallMethod(jsep, "join", "O", list); | ^~~~~~ P4Result.cpp:191:56: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 191 | PyObject * str = PyObject_CallMethod(jsep, "join", "O", list); | ^~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/lib/p4/include/p4/clientapi.h:7, from PythonMergeData.cpp:34: /usr/lib/p4/include/p4/stdhdrs.h:288: warning: "HAVE_MMAP" redefined 288 | # define HAVE_MMAP | In file included from /usr/include/python2.7/Python.h:8, from PythonMergeData.cpp:30: /usr/include/python2.7/pyconfig.h:513: note: this is the location of the previous definition 513 | #define HAVE_MMAP 1 | In file included from /usr/include/python2.7/Python.h:88, from PythonMergeData.cpp:30: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from PythonMergeData.cpp:30: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pointer to length variable or NULL | ^~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/lib/p4/include/p4/clientapi.h:7, from P4MapMaker.cpp:40: /usr/lib/p4/include/p4/stdhdrs.h:288: warning: "HAVE_MMAP" redefined 288 | # define HAVE_MMAP | In file included from /usr/include/python2.7/Python.h:8, from P4MapMaker.cpp:36: /usr/include/python2.7/pyconfig.h:513: note: this is the location of the previous definition 513 | #define HAVE_MMAP 1 | In file included from /usr/include/python2.7/Python.h:88, from P4MapMaker.cpp:36: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from P4MapMaker.cpp:36: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pointer to length variable or NULL | ^~~ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/lib/p4/include/p4/clientapi.h:7, from PythonSpecData.cpp:43: /usr/lib/p4/include/p4/stdhdrs.h:288: warning: "HAVE_MMAP" redefined 288 | # define HAVE_MMAP | In file included from /usr/include/python2.7/Python.h:8, from PythonSpecData.cpp:39: /usr/include/python2.7/pyconfig.h:513: note: this is the location of the previous definition 513 | #define HAVE_MMAP 1 | In file included from /usr/include/python2.7/Python.h:88, from PythonSpecData.cpp:39: /usr/include/python2.7/unicodeobject.h:534:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 534 | register PyObject *obj, /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:553:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 553 | register PyObject *obj /* Object */ | ^~~ /usr/include/python2.7/unicodeobject.h:575:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 575 | register const wchar_t *w, /* wchar_t buffer */ | ^ /usr/include/python2.7/unicodeobject.h:593:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 593 | register wchar_t *w, /* wchar_t buffer */ | ^ In file included from /usr/include/python2.7/Python.h:97, from PythonSpecData.cpp:39: /usr/include/python2.7/stringobject.h:173:24: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 173 | register PyObject *obj, /* string or Unicode object */ | ^~~ /usr/include/python2.7/stringobject.h:174:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 174 | register char **s, /* pointer to buffer variable */ | ^ /usr/include/python2.7/stringobject.h:175:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 175 | register Py_ssize_t *len /* pointer to length variable or NULL | ^~~ ./ install/ install/slack-desc usr/ usr/doc/ usr/doc/p4python-2010.1/ usr/doc/p4python-2010.1/LICENSE.txt usr/doc/p4python-2010.1/README.txt usr/doc/p4python-2010.1/RELNOTES.txt usr/doc/p4python-2010.1/p4python.SlackBuild usr/lib/ usr/lib/python2.7/ usr/lib/python2.7/site-packages/ usr/lib/python2.7/site-packages/P4.py usr/lib/python2.7/site-packages/P4.pyc usr/lib/python2.7/site-packages/P4API.so usr/lib/python2.7/site-packages/P4Python-2010.1-py2.7.egg-info