-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dequalify names when constructing RVars in rfactor (#8560)
Also includes two drive-by fixes: * Don't apply C++-specific warnings to C sources GCC complains about certain warning flags being passed to C sources. This will break -Werror builds. The flags in question are: * -Woverloaded-virtual * -Wsuggest-override * -Wno-old-style-cast * Use set_error on pybind11 2.12+ In pybind/pybind11#4772, the py::exception<>::operator() functions were deprecated because the static destructor could run after interpreter finalization and lead to undefined behavior. The old code has been modified to use PyErr_SetString directly, which also avoids lifetime issues.
- Loading branch information
1 parent
53afee7
commit 9500c05
Showing
4 changed files
with
42 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters