Fixes build failure on Mac OS X 10.10 beta in highgui/src/window_cocoa.mm (Bug #3737)#2908
Fixes build failure on Mac OS X 10.10 beta in highgui/src/window_cocoa.mm (Bug #3737)#2908opencv-pushbot merged 1 commit intoopencv:2.4from mmaraya:bug_3737
Conversation
…c/window_cocoa.mm (Bug #3737)
|
looks like NSApplicationActivationPolicyRegular was commented off (probably for some reason) and you put it back. Can you say why it was commented off and why it can be put back now? I would not want to play game "repair in one place - break somewhere else" :) |
|
Hi vpisarev, I checked the history of this file from 11 May 2010 to today and it appears that this has always been commented out. The value of NSApplicationActivationPolicyRegular is actually 0 and someone must have thought it was more efficient to use the value instead of a label. It appears that OS X 10.10 Yosemite Beta is now enforcing the use of the label so using the 0 literal value now causes a build failure. I've tested against OS X 10.9.3 and it compiles fine but I can't speak to older versions of OS X. |
|
ok. 👍 |
No description provided.