We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c028e38 commit 51989e0Copy full SHA for 51989e0
aesara/configdefaults.py
@@ -548,6 +548,16 @@ def add_compile_configvars():
548
in_c_key=False,
549
)
550
551
+ # Resolves C++11 narrowing error on Mac OS
552
+ # https://github.com/aesara-devs/aesara/issues/127
553
+ no_cpp_narrowing_flag = "-Wno-c++11-narrowing"
554
+ cxx_flags = config.gcc__cxx_flags.split()
555
+ if sys.platform == "darwin":
556
+ if no_cpp_narrowing_flag not in cxx_flags:
557
+ cxx_flags.append(no_cpp_narrowing_flag)
558
+
559
+ config.gcc.cxx_flags = cxx_flags.join(" ")
560
561
config.add(
562
"cmodule__warn_no_version",
563
"If True, will print a warning when compiling one or more Op "
0 commit comments