RefCountedData error C2061: syntax error: identifier 'in_pla

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.

RefCountedData error C2061: syntax error: identifier 'in_pla

Postby amaitland » Sun Sep 24, 2023 4:18 pm

I've just upgraded to 117.1.4+ga26f38b+chromium-117.0.5938.92 / Chromium 117.0.5938.92

I'm getting the following compiler error

Code: Select all
1>C:\projects\CefSharp\packages\cef.sdk.117.1.4\CEF\include\include\base\cef_ref_counted.h(487): error C2061: syntax error: identifier 'in_place_t'


The related commit appears to be https://github.com/chromiumembedded/cef ... 5248d10a60

Microsoft Visual Studio Community 2022 (64-bit) - Version 17.5.2

Any ideas?
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Re: RefCountedData error C2061: syntax error: identifier 'in

Postby magreenblatt » Sun Sep 24, 2023 6:14 pm

Are you building with C++17 enabled? See https://github.com/chromiumembedded/cef/issues/3362
magreenblatt
Site Admin
 
Posts: 12355
Joined: Fri May 29, 2009 6:57 pm

Re: RefCountedData error C2061: syntax error: identifier 'in

Postby amaitland » Tue Sep 26, 2023 10:07 pm

Thanks for the sanity check! I though I'd enabled C++17 last year, must have been in a dev branch and the changes didn't make it into master.

Upgrading to C++17 and builds are now passing.

Thanks again.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 22 guests