OK, thanks. I suppose I'll not use an anonymnous name space for that
variable.

Andy

On Wed, 30 Oct 2019, Adrian Sevcenco wrote:

> Building the python bindings i see this :
> ```
> In function ?const char* XrdSysE2T(int)?:
> cc1plus: error: function may return address of local variable [-Werror=return-local-addr]
> /home/adrian/GIT-REPOS/xrootd/src/XrdSys/XrdSysE2T.cc:99:16: note: declared here
> 99 | std::string eTxt(e2sMap[errcode]);
> | ^~~~
> cc1plus: all warnings being treated as errors
> make[2]: *** [src/CMakeFiles/XrdUtils.dir/build.make:89: src/CMakeFiles/XrdUtils.dir/XrdSys/XrdSysE2T.cc.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [CMakeFiles/Makefile2:468: src/CMakeFiles/XrdUtils.dir/all] Error 2
> make: *** [Makefile:130: all] Error 2
> Traceback (most recent call last):
> File "./setup.py", line 136, in <module>
> 'bdist_wheel': CustomWheelGen
> File "/home/adrian/.local/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
> return distutils.core.setup(**attrs)
> File "/usr/lib64/python3.7/distutils/core.py", line 148, in setup
> dist.run_commands()
> File "/usr/lib64/python3.7/distutils/dist.py", line 966, in run_commands
> self.run_command(cmd)
> File "/usr/lib64/python3.7/distutils/dist.py", line 985, in run_command
> cmd_obj.run()
> File "./setup.py", line 96, in run
> raise Exception( 'Install step failed!' )
> Exception: Install step failed!
> ```
>
> --
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/1078


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1078?email_source=notifications\u0026email_token=AA7NRDXV5EWZIMTJL6JZHODQRGZ2ZA5CNFSM4JGYMY2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECU4TWQ#issuecomment-547998170", "url": "https://github.com/xrootd/xrootd/issues/1078?email_source=notifications\u0026email_token=AA7NRDXV5EWZIMTJL6JZHODQRGZ2ZA5CNFSM4JGYMY2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECU4TWQ#issuecomment-547998170", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1