Skip to content

Attempt to ensure that all C++ files build as C++11 - #8208

Closed
gmarkall wants to merge 1 commit into
numba:mainfrom
gmarkall:typeconv-cpp11
Closed

gmarkall wants to merge 1 commit into
numba:mainfrom
gmarkall:typeconv-cpp11

Conversation

@gmarkall

Copy link
Copy Markdown
Member

typeconv.cpp now uses C++11 features, but it manages to skip getting the -std=c++11 flag on Darwin because it's built as an extension that includes both C and C++ files, so we can't just add the flag to extra_compile_args. Instead this attempts to sneak the flag into the C++ compiler specification just before extensions are built.

Testing on CI for now.

@gmarkall

Copy link
Copy Markdown
Member Author

cc @dlee992

@gmarkall

Copy link
Copy Markdown
Member Author

I think the issues this attempted to solve were addressed by #8389.

@gmarkall gmarkall closed this Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant