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

Fix compile error under Linux #262

Merged
merged 1 commit into from
Feb 22, 2019
Merged

Fix compile error under Linux #262

merged 1 commit into from
Feb 22, 2019

Conversation

efferre79
Copy link
Contributor

when building pytango-9.2.5 under Gentoo with gcc 7.3.0 I get the following error:

/var/tmp/portage/dev-python/pytango-9.2.5/work/pytango-9.2.5/ext/device_data.cpp:185:20: error: ‘False’ was not declared in this scope
             assert(False);
                    ^
/var/tmp/portage/dev-python/pytango-9.2.5/work/pytango-9.2.5/ext/device_data.cpp:185:20: note: suggested alternative: ‘raise’
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

@jairomoldes
Copy link
Contributor

Seems OK. Actually "False" instead of "false" looks like a typo ("false" is used elsewhere in the code)

@efferre79 efferre79 changed the title Fix compile error under Linux with gcc-7.3.0 Fix compile error under Linux Feb 21, 2019
@efferre79
Copy link
Contributor Author

changed the title because not specific to gcc version

@tiagocoutinho
Copy link
Contributor

LGTM

@tiagocoutinho tiagocoutinho merged commit b6cb933 into tango-controls:develop Feb 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants