Santhu / mozc

Automatically exported from code.google.com/p/mozc
0 stars 0 forks source link

Build error on 10.9 #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I noticed to be a build error when you are building a mozc without QT. The 
following error occurred.

/Users/ryou/src/mozc/src/renderer/mac/RendererBaseWindow.mm:124:26: error: 
out-of-line definition of 'SetWindowLevel' does not match any declaration in 
'mozc::renderer::mac::RendererBaseWindow'
void RendererBaseWindow::SetWindowLevel(int32 window_level) {
                         ^~~~~~~~~~~~~~
1 error generated.

Perhaps the width of the mold would different. It can be avoided by changing 
the following code.

-void RendererBaseWindow::SetWindowLevel(int32 window_level) {
+void RendererBaseWindow::SetWindowLevel(NSInteger window_level) {
   if (window_level_ != window_level) {
     window_level_ = window_level;
     [window_.get() setLevel:window_level_];

OS/Compiler: MacOSX 10.9 / Xcode 5.0.1(5A2053)

Original issue reported on code.google.com by ryouichi...@gmail.com on 24 Oct 2013 at 6:30

GoogleCodeExporter commented 9 years ago

Original comment by yukawa@google.com on 2 Nov 2013 at 4:52