C++11 error on Mac?

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.

C++11 error on Mac?

Postby bruth » Mon Jul 11, 2016 3:58 pm

When I build the cef_dll_wrapper target in my Xcode (7.3) project, I get a compile error from display_ctocpp.cc, regarding the template alias - it doesn't like the '>>' without a space in-between. I can fix it by adding a space, but then I'm editing a CEF build class, which I'd prefer not to do.

I've googled around on this error and it seems like adding a clang flag would fix it, but wanted to know if there was something else I'm missing in the interim.

Thanks!
bruth
Techie
 
Posts: 44
Joined: Mon Dec 09, 2013 5:45 pm

Re: C++11 error on Mac?

Postby bruth » Mon Jul 11, 2016 3:59 pm

Line 65, FYI:

Code: Select all
void CefDisplay::GetAllDisplays(std::vector<CefRefPtr<CefDisplay>>& displays) {
bruth
Techie
 
Posts: 44
Joined: Mon Dec 09, 2013 5:45 pm

Re: C++11 error on Mac?

Postby magreenblatt » Mon Jul 11, 2016 5:39 pm

What was the specific error message?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: C++11 error on Mac?

Postby bruth » Mon Jul 11, 2016 11:05 pm

I enabled C++11 features, it wasn't by default. All good.
bruth
Techie
 
Posts: 44
Joined: Mon Dec 09, 2013 5:45 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 39 guests