Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 11:32:38 zeev@Zmbp2 ~/ddcctl/ddcctl-master > make install
- gcc -Wall -c -o DDC.o DDC.c
- In file included from DDC.c:13:
- ./DDC.h:88:5: warning: declaration does not declare anything [-Wmissing-declarations]
- union inputbitmap {
- ^
- ./DDC.h:186:13: warning: declaration does not declare anything [-Wmissing-declarations]
- union sync {
- ^
- DDC.c:99:24: warning: 'CGDisplayIOServicePort' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
- if ((framebuffer = CGDisplayIOServicePort(displayID))) { // FIXME: DEPRECATED!
- ^
- /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h:355:24: note:
- 'CGDisplayIOServicePort' has been explicitly marked deprecated here
- CG_EXTERN io_service_t CGDisplayIOServicePort(CGDirectDisplayID display)
- ^
- DDC.c:167:19: warning: unused variable 'kr' [-Wunused-variable]
- kern_return_t kr;
- ^
- DDC.c:16:21: warning: unused function 'IOServicePortFromCGDisplayID' [-Wunused-function]
- static io_service_t IOServicePortFromCGDisplayID(CGDirectDisplayID displayID)
- ^
- 5 warnings generated.
- gcc -Wall -o ddcctl -lobjc -framework IOKit -framework AppKit -framework Foundation DDC.o ddcctl.m
- In file included from ddcctl.m:20:
- ./DDC.h:88:5: warning: declaration does not declare anything [-Wmissing-declarations]
- union inputbitmap {
- ^
- ./DDC.h:186:13: warning: declaration does not declare anything [-Wmissing-declarations]
- union sync {
- ^
- 2 warnings generated.
- install ddcctl /usr/local/bin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement