-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XrdSysE2T commit breaks compilation #1078
Comments
Fixed in b23edfb. |
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:
#1078
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Building the python bindings i see this :
The text was updated successfully, but these errors were encountered: