This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code
- From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Mar 2017 17:21:00 +0000
- Subject: [Bug libstdc++/79980] Possible bug in codecvt.cpp bitmask setting code
- Auto-submitted: auto-generated
- References: <bug-79980-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79980
--- Comment #7 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Thu, Mar 16, 2017 at 05:13:51PM +0000, redi at gcc dot gnu.org wrote:
>
> --- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
> It's just a dumb error where I used a typedef that was previously defined, the
> fix is:
>
> static underlying_type<codecvt_mode>::type
> to_integer(codecvt_mode m)
> { return static_cast<underlying_type<codecvt_mode>::type>(m); }
I have zero working knowledge of C++. The above isn't a diff,
so I have no idea what I should do with this. Are you going to
fix this anytime soon?