Advertisement
Guest User

Untitled

a guest
May 2nd, 2016
323
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 11:32:38 zeev@Zmbp2 ~/ddcctl/ddcctl-master > make install
  2. gcc -Wall -c -o DDC.o DDC.c
  3. In file included from DDC.c:13:
  4. ./DDC.h:88:5: warning: declaration does not declare anything [-Wmissing-declarations]
  5.     union inputbitmap {
  6.     ^
  7. ./DDC.h:186:13: warning: declaration does not declare anything [-Wmissing-declarations]
  8.             union sync {
  9.             ^
  10. DDC.c:99:24: warning: 'CGDisplayIOServicePort' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
  11.     if ((framebuffer = CGDisplayIOServicePort(displayID))) { // FIXME: DEPRECATED!
  12.                        ^
  13. /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h:355:24: note:
  14.       'CGDisplayIOServicePort' has been explicitly marked deprecated here
  15. CG_EXTERN io_service_t CGDisplayIOServicePort(CGDirectDisplayID display)
  16.                        ^
  17. DDC.c:167:19: warning: unused variable 'kr' [-Wunused-variable]
  18.     kern_return_t kr;
  19.                   ^
  20. DDC.c:16:21: warning: unused function 'IOServicePortFromCGDisplayID' [-Wunused-function]
  21. static io_service_t IOServicePortFromCGDisplayID(CGDirectDisplayID displayID)
  22.                     ^
  23. 5 warnings generated.
  24. gcc -Wall -o ddcctl -lobjc -framework IOKit -framework AppKit -framework Foundation DDC.o ddcctl.m
  25. In file included from ddcctl.m:20:
  26. ./DDC.h:88:5: warning: declaration does not declare anything [-Wmissing-declarations]
  27.     union inputbitmap {
  28.     ^
  29. ./DDC.h:186:13: warning: declaration does not declare anything [-Wmissing-declarations]
  30.             union sync {
  31.             ^
  32. 2 warnings generated.
  33. install ddcctl /usr/local/bin
Advertisement
RAW Paste Data Copied
Advertisement