Re: GCC help needed for chromium

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Confirmed, that gcc builds a working chromium. Thank you so much.

Tom

On Thu, Mar 12, 2020 at 6:39 AM Jakub Jelinek <jakub@xxxxxxxxxx> wrote:
On Mon, Mar 02, 2020 at 08:57:46AM -0500, Tom Callaway wrote:
> Wait, I know that $TOPIC is scary, come back.
>
> Chromium has this chunk of code (in
> third_party/angle/src/common/PackedEnums.h):
>
>              // This horrible const_cast pattern is necessary to work
> around a constexpr limitation.
>              // See https://stackoverflow.com/q/34199774/ . Note that it
> should be fixed with C++17.
>              const_cast<T &>(const_cast<const Storage &>(
>                 mPrivateData)[static_cast<UnderlyingType>(it->first)]) =
> it->second;
>
> This code built with gcc9, but with gcc10 it no longer works.

Please try gcc-10.0.1-0.9.fc{32,33} (f32 version hasn't finished building
yet though).

        Jakub
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux