Advertisement
Guest User

Untitled

a guest
Oct 26th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. /Users/geeta1702/openttd/trunk/src/video/cocoa/cocoa_v.mm:528:59: warning:
  2. format string is not a string literal [-Wformat-nonliteral]
  3. ...], [ NSString stringWithUTF8String:message ], [ NSString stringWithUTF8S...
  4. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. 1 warning generated.
  6. /Users/geeta1702/openttd/trunk/src/video/cocoa/fullscreen.mm:155:2: error:
  7. unknown type name 'CGDirectPaletteRef'
  8. CGDirectPaletteRef palette; ///< palette of an 8-bit display
  9. ^
  10. /Users/geeta1702/openttd/trunk/src/video/cocoa/fullscreen.mm:244:21: error: use
  11. of undeclared identifier 'CGDisplayBeamPosition'; did you mean
  12. 'CGDisplayRotation'?
  13. double position = CGDisplayBeamPosition(this->display_id);
  14. ^~~~~~~~~~~~~~~~~~~~~
  15. CGDisplayRotation
  16. /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h:381:18: note:
  17. 'CGDisplayRotation' declared here
  18. CG_EXTERN double CGDisplayRotation(CGDirectDisplayID display)
  19. ^
  20. /Users/geeta1702/openttd/trunk/src/video/cocoa/fullscreen.mm:335:35: error: use
  21. of undeclared identifier 'CGDisplayCanSetPalette'
  22. if (this->device_depth == 8 && !CGDisplayCanSetPalette(t...
  23. ^
  24. /Users/geeta1702/openttd/trunk/src/video/cocoa/fullscreen.mm:428:19: error: use
  25. of undeclared identifier 'CGPaletteCreateDefaultColorPalette'
  26. this->palette = CGPaletteCreateDefaultColorPalette();
  27. ^
  28. /Users/geeta1702/openttd/trunk/src/video/cocoa/fullscreen.mm:592:9: error:
  29. cannot initialize return object of type 'CocoaSubdriver *' with an lvalue
  30. of type 'FullscreenSubdriver *'
  31. return ret;
  32. ^~~
  33. /Users/geeta1702/openttd/trunk/src/video/cocoa/fullscreen.mm:155:21: warning:
  34. private field 'palette' is not used [-Wunused-private-field]
  35. CGDirectPaletteRef palette; ///< palette of an 8-bit display
  36. ^
  37. 1 warning and 5 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement