Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

error: ‘False’ was not declared in this scope #291

Closed
picca opened this issue Jul 19, 2019 · 5 comments
Closed

error: ‘False’ was not declared in this scope #291

picca opened this issue Jul 19, 2019 · 5 comments

Comments

@picca
Copy link

picca commented Jul 19, 2019

Hello, I know that this is quite old, but I would like to share this error during a build on Debian unstable.

Cheers

Fred

In file included from /usr/include/c++/8/cassert:44,
                 from /builds/science-team/pytango/debian/output/pytango-9.2.5/ext/tgutils.h:14,
                 from /builds/science-team/pytango/debian/output/pytango-9.2.5/ext/from_py.h:22,
                 from /builds/science-team/pytango/debian/output/pytango-9.2.5/ext/pytgutils.h:19,
                 from /builds/science-team/pytango/debian/output/pytango-9.2.5/ext/device_data.cpp:13:
/builds/science-team/pytango/debian/output/pytango-9.2.5/ext/device_data.cpp: In function ‘boost::python::api::object PyDeviceData::extract_array(Tango::DeviceData&, boost::python::api::object&, PyTango::ExtractAs) [with long int tangoArrayTypeConst = 31]’:
/builds/science-team/pytango/debian/output/pytango-9.2.5/ext/device_data.cpp:185:20: error: ‘False’ was not declared in this scope
             assert(False);
                    ^~~~~
/builds/science-team/pytango/debian/output/pytango-9.2.5/ext/device_data.cpp:185:20: note: suggested alternative: ‘raise’
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:341: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build 
dh_auto_build: pybuild --build -i python{version} -p 2.7 returned exit code 13
@ajoubertza
Copy link
Member

@picca This has been fixed. Available since v9.3.0.
See PR #262.

Can I close this issue?

@picca
Copy link
Author

picca commented Jul 19, 2019 via email

@andygotz
Copy link

I know @bourtemb is working on completing the 9.3.x release. He is close to completion.

We had a question for @picca : when would the new release of pytango 9.3.3 be included in the debian packaging e.g. would it be available for Debian 10 as a replacement for 9.2.5?

@picca
Copy link
Author

picca commented Jul 19, 2019 via email

@ajoubertza
Copy link
Member

OK. Closing this.
(Note: next pytango release will be 9.3.1).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants