Page 1 of 1

RefCountedData error C2061: syntax error: identifier 'in_pla

PostPosted: Sun Sep 24, 2023 4:18 pm
by amaitland
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?

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

PostPosted: Sun Sep 24, 2023 6:14 pm
by magreenblatt
Are you building with C++17 enabled? See https://github.com/chromiumembedded/cef/issues/3362

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

PostPosted: Tue Sep 26, 2023 10:07 pm
by amaitland
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.