9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] compiling 9vx on yosemite
Date: Thu, 21 May 2015 16:44:03 +0000	[thread overview]
Message-ID: <CAJSxfmLyANVahk0+zGUojjzP6tYfyVOzfjM0g=hD2pyWmWPVbg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

is anyone able to compile 9vx on yosemite? i think the most up to date
version is the one in David's repo (bitbucket.org/0intro/vx32).  i'm
getting this on mac os 10.10.3:

/System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:8727:1:
note: 'BeginFullScreen' has been
      explicitly marked deprecated here
BeginFullScreen(
^
9vx/osx/screen.c:547:2: error: use of undeclared identifier 'OSXCursor'
        OSXCursor oc;
        ^
9vx/osx/screen.c:552:3: error: use of undeclared identifier 'oc'
                oc.data[i] = ((ushort*)c->set)[i];
                ^
9vx/osx/screen.c:553:3: error: use of undeclared identifier 'oc'
                oc.mask[i] = oc.data[i] | ((ushort*)c->clr)[i];
                ^
9vx/osx/screen.c:553:16: error: use of undeclared identifier 'oc'
                oc.mask[i] = oc.data[i] | ((ushort*)c->clr)[i];
                             ^
9vx/osx/screen.c:555:2: error: use of undeclared identifier 'oc'
        oc.hotSpot.h = - c->offset.x;
        ^
9vx/osx/screen.c:556:2: error: use of undeclared identifier 'oc'
        oc.hotSpot.v = - c->offset.y;
        ^
9vx/osx/screen.c:557:2: warning: implicit declaration of function
'SetCursor' is invalid in C99
      [-Wimplicit-function-declaration]
        SetCursor(&oc);
        ^
9vx/osx/screen.c:557:13: error: use of undeclared identifier 'oc'
        SetCursor(&oc);
                   ^
52 warnings and 7 errors generated.
make: *** [9vx/osx/screen.o] Error 1

[-- Attachment #2: Type: text/html, Size: 2093 bytes --]

             reply	other threads:[~2015-05-21 16:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 16:44 Skip Tavakkolian [this message]
2015-05-21 16:57 ` Aram Hăvărneanu
2015-05-21 17:25   ` Devon H. O'Dell
2015-05-21 17:53     ` Skip Tavakkolian
2015-05-21 18:01       ` Jeff Sickel
2015-05-21 18:27         ` Skip Tavakkolian
2015-05-21 18:50         ` Ryan Gonzalez
2015-05-21 19:39           ` David du Colombier
2015-05-22  7:22             ` yy
2015-05-22  7:57               ` jordi collell
2015-05-22 16:06                 ` Skip Tavakkolian
2015-05-22 15:26               ` lucio
2015-05-22  7:27       ` yy

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='CAJSxfmLyANVahk0+zGUojjzP6tYfyVOzfjM0g=hD2pyWmWPVbg@mail.gmail.com' \
    --to=skip.tavakkolian@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).