Re: GCC help needed for chromium

2020-03-17 Thread Tom Callaway
Confirmed, that gcc builds a working chromium. Thank you so much. Tom On Thu, Mar 12, 2020 at 6:39 AM Jakub Jelinek 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_part

Re: GCC help needed for chromium

2020-03-12 Thread Jakub Jelinek
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 limit

Re: GCC help needed for chromium

2020-03-04 Thread Tom Callaway
Here is the g++ commandline: g++ -MMD -MF obj/third_party/angle/libGLESv2/entry_points_gles_ext_autogen.o.d -DLIBGLESV2_IMPLEMENTATION -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__ST

Re: GCC help needed for chromium

2020-03-02 Thread Michael Catanzaro
On Mon, Mar 2, 2020 at 8:57 am, Tom Callaway wrote: // 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(const_cast(

Re: GCC help needed for chromium

2020-03-02 Thread Jakub Jelinek
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 limit

GCC help needed for chromium

2020-03-02 Thread Tom Callaway
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