Building cef 3.2171.1979 with Visual Studio 2013

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.

Building cef 3.2171.1979 with Visual Studio 2013

Postby rdilipk » Mon May 18, 2015 9:14 am

I have managed to download, generate projects via cmake scripts and build a debug version successfully. It is the **release** mode that is giving me a bit of an issue. For calls like these:

BOOL result = wglMakeCurrent(NULL, NULL);
DCHECK(result);

I get:

warning C4189: 'result' : local variable is initialized but not referenced

The comment for DCHECK says that the parameter is guaranteed to be referenced regardless of the value of DCHECK. Before I spend time trying to work around this (because warnings as treated as errors and I pretty much cannot proceed without resolving this), should this be working out-of-the-box?
rdilipk
Newbie
 
Posts: 1
Joined: Mon May 18, 2015 9:09 am

Re: Building cef 3.2171.1979 with Visual Studio 2013

Postby magreenblatt » Mon May 18, 2015 11:24 am

This has been fixed in newer CEF branches (2272+). You can get a newer build from http://cefbuilds.com or comment out the DCHECKs in your version.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 47 guests