From: Bart Veer <bartv@ecoscentric.com>
To: ecos-patches@sourceware.org
Subject: fix a couple of build problems
Date: Sat, 24 Jan 2009 10:53:00 -0000 [thread overview]
Message-ID: <pnzlhhx9du.fsf@delenn.bartv.net> (raw)
This sorts out some dodgy casting which current toolchains find
objectionable.
Bart
Index: picasso/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/picasso/current/ChangeLog,v
retrieving revision 1.3
diff -u -p -r1.3 ChangeLog
--- picasso/current/ChangeLog 21 Sep 2003 12:27:56 -0000 1.3
+++ picasso/current/ChangeLog 24 Jan 2009 10:52:03 -0000
@@ -1,3 +1,7 @@
+2009-01-24 Bart Veer <bartv@ecoscentric.com>
+
+ * src/vga_support.c: fix build problem with latest toolchains.
+
2003-09-21 Gary Thomas <gary@mlbassoc.com>
* misc/redboot_RAM.ecm:
Index: picasso/current/src/vga_support.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/picasso/current/src/vga_support.c,v
retrieving revision 1.1
diff -u -p -r1.1 vga_support.c
--- picasso/current/src/vga_support.c 22 Aug 2003 15:19:53 -0000 1.1
+++ picasso/current/src/vga_support.c 24 Jan 2009 10:52:19 -0000
@@ -147,7 +147,8 @@ vga_init(cyg_uint32 *addr)
{
volatile struct VGA_ctlr *ctlr;
- vga.ctlr = (struct VGA_ctlr *)ctlr = (struct VGA_ctlr *)addr;
+ ctlr = (volatile struct VGA_ctlr *)addr;
+ vga.ctlr = (void*)ctlr;
vga.fb = ctlr->fb;
vga.bpp = VGA_DEPTH;
vga.height = VGA_HEIGHT;
Index: uE250/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/uE250/current/ChangeLog,v
retrieving revision 1.12
diff -u -p -r1.12 ChangeLog
--- uE250/current/ChangeLog 21 Sep 2003 12:27:56 -0000 1.12
+++ uE250/current/ChangeLog 24 Jan 2009 10:52:35 -0000
@@ -1,3 +1,7 @@
+2009-01-24 Bart Veer <bartv@ecoscentric.com>
+
+ * src/vga_support.c: fix build problem with latest toolchains.
+
2003-09-21 Gary Thomas <gary@mlbassoc.com>
* misc/redboot_RAM.ecm:
Index: uE250/current/src/vga_support.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/uE250/current/src/vga_support.c,v
retrieving revision 1.2
diff -u -p -r1.2 vga_support.c
--- uE250/current/src/vga_support.c 26 Feb 2003 00:42:31 -0000 1.2
+++ uE250/current/src/vga_support.c 24 Jan 2009 10:52:49 -0000
@@ -147,7 +147,8 @@ vga_init(cyg_uint32 *addr)
{
volatile struct VGA_ctlr *ctlr;
- vga.ctlr = (struct VGA_ctlr *)ctlr = (struct VGA_ctlr *)addr;
+ ctlr = (volatile struct VGA_ctlr *)addr;
+ vga.ctlr = (void*) ctlr;
vga.fb = ctlr->fb;
vga.bpp = VGA_DEPTH;
vga.height = VGA_HEIGHT;
reply other threads:[~2009-01-24 10:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=pnzlhhx9du.fsf@delenn.bartv.net \
--to=bartv@ecoscentric.com \
--cc=ecos-patches@sourceware.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).