Skip to content
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

Reenable some compiler errors #7270

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pymc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ def __set_compiler_flags():
import pytensor

current = pytensor.config.gcc__cxxflags
augmented = f"{current} -Wno-c++11-narrowing"

# Work around compiler bug in GCC < 8.4 related to structured exception
# handling registers on Windows.
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782 for details.
# First disable C++ exception handling altogether since it's not needed
# for the C extensions that we generate.
augmented = f"{augmented} -fno-exceptions"
augmented = f"{current} -fno-exceptions"
# Now disable the generation of stack unwinding tables.
augmented = f"{augmented} -fno-unwind-tables -fno-asynchronous-unwind-tables"

Expand Down
Loading