Building v119 (branch 6045) fails

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: Building v119 (branch 6045) fails

Postby callum » Fri Nov 17, 2023 7:24 pm

magreenblatt wrote:A fix for the partition_allocator error (add the necessary include) could also be submitted to Chromium.


Happy to submit a fix of course but I assumed this must be my system configuration - countless groups/people already build Chromium and CEF including the Spotify build bots - surely they would have hit the same error if the build was broken?
callum
Expert
 
Posts: 326
Joined: Mon Feb 23, 2015 6:19 pm

Re: Building v119 (branch 6045) fails

Postby magreenblatt » Fri Nov 17, 2023 9:44 pm

callum wrote:
magreenblatt wrote:A fix for the partition_allocator error (add the necessary include) could also be submitted to Chromium.


Happy to submit a fix of course but I assumed this must be my system configuration - countless groups/people already build Chromium and CEF including the Spotify build bots - surely they would have hit the same error if the build was broken?

Required headers should be explicitly included. Otherwise, you’re just depending on luck to get the include transitively. https://google.github.io/styleguide/cpp ... at_You_Use
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Building v119 (branch 6045) fails

Postby magreenblatt » Fri Nov 17, 2023 9:53 pm

countless groups/people already build Chromium and CEF including the Spotify build bots

Chromium builds using bundled clang and libc++. The CEF sandbox target builds with MSVC libc++ for compatibility with client apps. That makes the sandbox target more fragile (depends on the MSVC version), and it’s not uncommon to find bugs (in code or MSVC) that just happen to compile OK with clang.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Building v119 (branch 6045) fails

Postby callum » Sat Nov 18, 2023 8:43 am

Thank you for the clarification - I submitted a report via crbug.com (https://bugs.chromium.org/p/chromium/is ... id=1503397)
callum
Expert
 
Posts: 326
Joined: Mon Feb 23, 2015 6:19 pm

Re: Building v119 (branch 6045) fails

Postby magreenblatt » Mon Nov 20, 2023 11:21 am

callum wrote:Thank you for the clarification - I submitted a report via crbug.com (https://bugs.chromium.org/p/chromium/is ... id=1503397)

Thanks for reporting. The issue has now been fixed in Chromium (likely in M121+).
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 186 guests