Description
how to solve the problem? gcc 8.3
../../3rdparty/chromium/base/trace_event/trace_event.h:246:76: error: '((& base::trace_event::CategoryRegistry::categories_[56ul]) != 0u)' is not a constant expression
base::trace_event::TraceLog::GetBuiltinCategoryEnabled(category_group); \
^
../../3rdparty/chromium/base/trace_event/trace_event.h:280:3: note: in expansion of macro 'INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO'
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(category_group); \
^
../../3rdparty/chromium/base/trace_event/common/trace_event_common.h:211:3: note: in expansion of macro 'INTERNAL_TRACE_EVENT_ADD_SCOPED'
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name)
^
../../3rdparty/chromium/ipc/ipc_message_templates.h:238:5: note: in expansion of macro 'TRACE_EVENT0'
TRACE_EVENT0("ipc", Meta::kName);
^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-deprecated-copy'
cc1plus: warning: unrecognized command line option '-Wno-subobject-linkage'
cc1plus: warning: unrecognized command line option '-Wno-class-memaccess'
cc1plus: warning: unrecognized command line option '-Wno-class-memaccess'
cc1plus: warning: unrecognized command line option '-Wno-dangling-else'
cc1plus: warning: unrecognized command line option '-Wno-packed-not-aligned'
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:348: run_ninja] Error 1
make[3]: Leaving directory '/builddir/build/BUILD/qtwebengine-everywhere-src-5.14.0/src/core'
make[2]: Leaving directory '/builddir/build/BUILD/qtwebengine-everywhere-src-5.14.0/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[1]: *** [Makefile:78: sub-core-make_first] Error 2
make[1]: Leaving directory '/builddir/build/BUILD/qtwebengine-everywhere-src-5.14.0/src'
make: *** [Makefile:49: sub-src-make_first] Error 2