This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/64203] shared_mutex compile errors on bare-metal targets
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 06 Dec 2014 16:49:17 +0000
- Subject: [Bug libstdc++/64203] shared_mutex compile errors on bare-metal targets
- Auto-submitted: auto-generated
- References: <bug-64203-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64203
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34208|0 |1
is obsolete| |
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 34210
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34210&action=edit
fix config macros for shared_lock
(In reply to Sandra Loosemore from comment #2)
> FAOD it looks like on this target _GLIBCXX_USE_C99_STDINT_TR1 is defined but
> _GLIBCXX_HAS_GTHREADS is not.
Right, which means that defer_lock_t etc should be defined, but my patch was
incomplete and <shared_mutex> didn't include <mutex> to get those definitions.
How's this one?