9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchovski@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Yosemite
Date: Sat, 18 Oct 2014 11:04:45 -0600	[thread overview]
Message-ID: <CAK4xykX3EYCYRLr4SJBRxhWdTOqMFMM9mgu77pA6ePAYB6=A8Q@mail.gmail.com> (raw)
In-Reply-To: <5D2B1C42-90CF-487A-9FFE-C40726B5C0BB@9srv.net>

> Have you rebuilt on it? mk seems unhappy (aborting in some cases).

I hadn't until now. extracted output and warnings below:

$ hg pull -u
pulling from https://code.google.com/p/plan9port
searching for changes
no changes found
$ ./INSTALL
+ Mailing list: http://groups.google.com/group/plan9port-dev
+ Issue tracker: http://code.swtch.com/plan9port/issues/
+ Submitting changes: http://swtch.com/go/codereview

* Resetting /Users/aam/plan9/config
* Compiler version:
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
* Running on Darwin: checking architecture...
x86-64 found.
>>> /Users/aam/plan9/src
* Building everything (be patient)...


9c  dirread.c
        return getdirentries(fd, (void*)buf, n, &off);
               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dirent.h:160:5:
note: 'getdirentries' has been explicitly marked deprecated here
int getdirentries(int, char *, int, long *)
    ^
1 warning generated.

9c  ndbreorder.c
ndbreorder.c:41:55: warning: for loop has empty body [-Wempty-body]
                for(prev = last; prev->line != x; prev = prev->line);
                                                                    ^
ndbreorder.c:41:55: note: put the semicolon on a separate line to
silence this warning
1 warning generated.

9c  regcomp.c
regcomp.c:19:16: warning: variable 'reprog' is not needed and will not
be emitted [-Wunneeded-internal-declaration]
static Reprog   *reprog;
                 ^
1 warning generated.

9c  dd.c
        ibuf = sbrk(ibs);
               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:582:7:
note: 'sbrk' has been explicitly marked deprecated here
void    *sbrk(int);
         ^
                obuf = sbrk(obs);
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:582:7:
note: 'sbrk' has been explicitly marked deprecated here
void    *sbrk(int);
         ^
        sbrk(64);       /* For good measure */
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:582:7:
note: 'sbrk' has been explicitly marked deprecated here
void    *sbrk(int);
         ^
3 warnings generated.


9c  y.tab.c
/Users/aam/plan9/src/cmd/lex/parser.y:886:9: warning: array index -1
is before the beginning of the array [-Warray-bounds]
        yyp = &yys[-1];
               ^   ~~
/Users/aam/plan9/src/cmd/lex/parser.y:864:2: note: array 'yys' declared here
        struct
        ^
1 warning generated.
>>> cd lex; mk install
9c -o bc.o bc.tab.c
/Users/aam/plan9/src/cmd/bc.y:1327:9: warning: array index -1 is
before the beginning of the array [-Warray-bounds]
        yyp = &yys[-1];
               ^   ~~
/Users/aam/plan9/src/cmd/bc.y:1305:2: note: array 'yys' declared here
        struct
        ^
1 warning generated.

9c  iobuf.c
        mem = sbrk(n);
              ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/unistd.h:582:7:
note: 'sbrk' has been explicitly marked deprecated here
void    *sbrk(int);
         ^
1 warning generated.

9c  y.tab.c
/Users/aam/plan9/src/cmd/acid/dbg.y:393:9: warning: array index -1 is
before the beginning of the array [-Warray-bounds]
        yyp = &yys[-1];
               ^   ~~
/Users/aam/plan9/src/cmd/acid/dbg.y:371:2: note: array 'yys' declared here
        struct
        ^
1 warning generated.

9c -DOSX_VERSION=101000 -o cocoa-screen-objc.o cocoa-screen.m
cocoa-screen.m:100:21: warning: sending 'appdelegate *' to parameter
of incompatible type 'id<NSFileManagerDelegate>'
        [NSApp setDelegate:[appdelegate new]];
                           ^~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47:
note: passing argument to parameter 'delegate' here
@property (assign) id <NSFileManagerDelegate> delegate NS_AVAILABLE(10_5, 2_0);
                                              ^
cocoa-screen.m:363:27: warning: sending 'id<NSFileManagerDelegate>' to
parameter of incompatible type 'id<NSWindowDelegate>'
                [win.ofs[i] setDelegate:[NSApp delegate]];
                                        ^~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:307:41:
note: passing argument to parameter 'delegate' here
@property (assign) id<NSWindowDelegate> delegate;
                                        ^
cocoa-screen.m:526:46: warning: data argument not used by format
string [-Wformat-extra-args]
        LOG(@"r %.0f %.0f", r.origin.x, r.origin.y, rect.size.width,
rect.size.height);
            ~~~~~~~~~~~~~~                          ^
cocoa-screen.m:751:19: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_IBOOK_ENTER] '\n',
                         ^
                         =
cocoa-screen.m:752:14: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_RETURN] '\n',
                    ^
                    =
cocoa-screen.m:753:14: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_ESCAPE] 27,
                    ^
                    =
cocoa-screen.m:754:17: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_BACKSPACE] '\b',
                       ^
                       =
cocoa-screen.m:755:12: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_LALT] Kalt,
                  ^
                  =
cocoa-screen.m:756:13: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_LCTRL] Kctl,
                   ^
                   =
cocoa-screen.m:757:14: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_LSHIFT] Kshift,
                    ^
                    =
cocoa-screen.m:758:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F1] KF+1,
                ^
                =
cocoa-screen.m:759:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F2] KF+2,
                ^
                =
cocoa-screen.m:760:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F3] KF+3,
                ^
                =
cocoa-screen.m:761:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F4] KF+4,
                ^
                =
cocoa-screen.m:762:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F5] KF+5,
                ^
                =
cocoa-screen.m:763:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F6] KF+6,
                ^
                =
cocoa-screen.m:764:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F7] KF+7,
                ^
                =
cocoa-screen.m:765:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F8] KF+8,
                ^
                =
cocoa-screen.m:766:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F9] KF+9,
                ^
                =
cocoa-screen.m:767:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F10] KF+10,
                 ^
                 =
cocoa-screen.m:768:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F11] KF+11,
                 ^
                 =
cocoa-screen.m:769:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_F12] KF+12,
                 ^
                 =
cocoa-screen.m:770:14: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_INSERT] Kins,
                    ^
                    =
cocoa-screen.m:771:14: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_DELETE] 0x7F,
                    ^
                    =
cocoa-screen.m:772:12: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_HOME] Khome,
                  ^
                  =
cocoa-screen.m:773:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_END] Kend,
                 ^
                 =
cocoa-screen.m:774:15: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP_PLUS] '+',
                     ^
                     =
cocoa-screen.m:775:16: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP_MINUS] '-',
                      ^
                      =
cocoa-screen.m:776:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_TAB] '\t',
                 ^
                 =
cocoa-screen.m:777:14: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_PAGEUP] Kpgup,
                    ^
                    =
cocoa-screen.m:778:16: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_PAGEDOWN] Kpgdown,
                      ^
                      =
cocoa-screen.m:779:10: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_UP] Kup,
                ^
                =
cocoa-screen.m:780:12: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_DOWN] Kdown,
                  ^
                  =
cocoa-screen.m:781:12: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_LEFT] Kleft,
                  ^
                  =
cocoa-screen.m:782:13: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_RIGHT] Kright,
                   ^
                   =
cocoa-screen.m:783:19: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP_MULTIPLY] '*',
                         ^
                         =
cocoa-screen.m:784:17: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP_DIVIDE] '/',
                       ^
                       =
cocoa-screen.m:785:16: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP_ENTER] '\n',
                      ^
                      =
cocoa-screen.m:786:17: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP_PERIOD] '.',
                       ^
                       =
cocoa-screen.m:787:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP0] '0',
                 ^
                 =
cocoa-screen.m:788:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP1] '1',
                 ^
                 =
cocoa-screen.m:789:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP2] '2',
                 ^
                 =
cocoa-screen.m:790:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP3] '3',
                 ^
                 =
cocoa-screen.m:791:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP4] '4',
                 ^
                 =
cocoa-screen.m:792:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP5] '5',
                 ^
                 =
cocoa-screen.m:793:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP6] '6',
                 ^
                 =
cocoa-screen.m:794:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP7] '7',
                 ^
                 =
cocoa-screen.m:795:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP8] '8',
                 ^
                 =
cocoa-screen.m:796:11: warning: use of GNU 'missing =' extension in
designator [-Wgnu-designator]
        [QZ_KP9] '9',
                 ^
                 =
                CGSetLocalEventsSuppressionInterval(0);
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRemoteOperation.h:374:19:
note: 'CGSetLocalEventsSuppressionInterval' has been explicitly marked
deprecated here
CG_EXTERN CGError CGSetLocalEventsSuppressionInterval(CFTimeInterval seconds)
                  ^
        q = [WIN convertBaseToScreen:q];
                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:661:1:
note: 'convertBaseToScreen:' has been explicitly marked deprecated
here
- (NSPoint)convertBaseToScreen:(NSPoint)aPoint NS_DEPRECATED_MAC(10_0,
10_7, "Use -convertRectToScreen: instead");
^
                colorSpaceName:NSDeviceBlackColorSpace
                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:110:25:
note: 'NSDeviceBlackColorSpace' has been explicitly marked deprecated
here
APPKIT_EXTERN NSString *NSDeviceBlackColorSpace         /* 1.0 ==
black */ NS_DEPRECATED_MAC(10_0, 10_6);
                        ^
    GetCurrentProcess(&psn);
    ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:415:1:
note: 'GetCurrentProcess' has been explicitly marked deprecated here
MacGetCurrentProcess(ProcessSerialNumber * PSN)
AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:412:34:
note: expanded from macro 'MacGetCurrentProcess'
    #define MacGetCurrentProcess GetCurrentProcess
                                 ^
53 warnings generated.

9c  disk.c
disk.c:37:14: warning: use of GNU 'missing =' extension in designator
[-Wgnu-designator]
        [PartError]     "error",
                        ^
                        =
disk.c:38:14: warning: use of GNU 'missing =' extension in designator
[-Wgnu-designator]
        [PartSuper]     "super",
                        ^
                        =
disk.c:39:14: warning: use of GNU 'missing =' extension in designator
[-Wgnu-designator]
        [PartLabel]     "label",
                        ^
                        =
disk.c:40:13: warning: use of GNU 'missing =' extension in designator
[-Wgnu-designator]
        [PartData]      "data",
                        ^
                        =
disk.c:41:14: warning: use of GNU 'missing =' extension in designator
[-Wgnu-designator]
        [PartVenti]     "venti",
                        ^
                        =
5 warnings generated.

9c  y.tab.c
/Users/aam/plan9/src/cmd/grep/grep.y:420:9: warning: array index -1 is
before the beginning of the array [-Warray-bounds]
        yyp = &yys[-1];



  parent reply	other threads:[~2014-10-18 17:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-18  5:09 Anthony Sorace
2014-10-18  5:52 ` andrey mirtchovski
2014-10-18 14:55   ` Anthony Sorace
2014-10-18 16:20     ` Jeff Sickel
2014-10-18 17:04     ` andrey mirtchovski [this message]
2014-10-18  6:22 ` Jeff Sickel
2014-10-21 15:21 ` Jeff Sickel
2014-10-22 16:12   ` Skip Tavakkolian
2014-10-22 18:09     ` Jeff Sickel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK4xykX3EYCYRLr4SJBRxhWdTOqMFMM9mgu77pA6ePAYB6=A8Q@mail.gmail.com' \
    --to=mirtchovski@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).