Skip to content
Snippets Groups Projects
Commit 025602a7 authored by Mike Hommey's avatar Mike Hommey
Browse files

Bug 1832708 - Disable std::__throw_* wrapping on libc++ >= 14.0....

Bug 1832708 - Disable std::__throw_* wrapping on libc++ >= 14.0. r=firefox-build-system-reviewers,andi

As of libc++ 14, the functions are defined in the std namespace rather
than std::<something>, which makes them conflict with our wrapping. This
is not a problem on libstdc++ because the functions are defined in the
library itself rather than the headers.

This was the real reason behind the addition of #ifndef __wasm__ ; this
is a more generic fix for the same problem.

Differential Revision: https://phabricator.services.mozilla.com/D177841
parent 00f911fd
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
#ifndef mozilla_throw_gcc_h
#define mozilla_throw_gcc_h
#ifndef __wasm__
#if !defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 14000
# include "mozilla/Attributes.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment