https://issues.apache.org/ooo/show_bug.cgi?id=124160
Bug ID: 124160
Issue Type: DEFECT
Summary: Compiler error
Product: General
Version: 4.1.0-dev
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: code
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
I don't really understand exactly what component is being built when this
compiler error occurs, but I figured out how to fix it just by grepping a bit.
The error is as follows:
/Users/ted/AOO400/main/vcl/aqua/source/gdi/salprn.cxx:80:38: error: cannot
initialize a parameter of type 'NSPaperOrientation' with an rvalue of type
'<anonymous enum at
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPrintInfo.h:213:1>'
[mpPrintInfo setOrientation: NSPortraitOrientation];
^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPrintInfo.h:102:44:
note: passing argument to parameter 'orientation' here
- (void)setOrientation:(NSPaperOrientation)orientation;
Changing NSPortraitOrientation to NSPaperOrientationPortrait seems to fix the
issue. I grepped around for strings in other places in the code and found the
latter in some other places, though I don't really understand the full picture.
I did manage to build a complete working version of Open Office with this
change, though. Patch is attached.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.