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

[dmd-cxx] Backport extern(C++, "namespace") and CppRuntime #9371

Merged
merged 1 commit into from Feb 18, 2019

Conversation

ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Feb 17, 2019

As core.stdcpp is unusable without this.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @ibuclaw!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "dmd-cxx + dmd#9371"

@dlang-bot dlang-bot merged commit ed71446 into dlang:dmd-cxx Feb 18, 2019
@ibuclaw ibuclaw deleted the dmd-cxx-cpp branch February 18, 2019 05:50
sebhub pushed a commit to RTEMS/gnu-mirror-gcc that referenced this pull request Mar 1, 2019
Backports support for extern(C++, "namespace"), which makes the
core.stdcpp package compilable.

Added predefined condition for CppRuntime_Gcc unconditionally, as it is
unlikely that D code will be linking to anything other than libstdc++
when extern(C++) is used.

Reviewed-on: dlang/dmd#9371

gcc/d/ChangeLog:

2019-03-01  Iain Buclaw  <ibuclaw@gdcproject.org>

	* d-builtins.cc (d_init_versions): Add CppRuntime_Gcc as predefined
	version condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@269304 138bc75d-0d04-0410-961f-82ee72b054a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants