zsh-workers
 help / color / mirror / code / Atom feed
* Small oneliner to fix warnings
@ 2001-04-18 19:18 Mads Martin Jørgensen
  2001-04-18 20:49 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Mads Martin Jørgensen @ 2001-04-18 19:18 UTC (permalink / raw)
  To: zsh-workers

Here is a small oneliner to fix a warning when building zsh on ia64.
The warning:

terminfo.c:69: warning: cast to pointer from integer of different size
terminfo.c:168: warning: cast to pointer from integer of different size

And the obvious patch:

--- zsh-4.0.1-pre-3/Src/Modules/terminfo.c
+++ zsh-4.0.1-pre-3/Src/Modules/terminfo.c  2001/04/15 20:00:42
@@ -27,6 +27,7 @@
  *
  */
 
+#include <ncurses.h>
 #include "terminfo.mdh"
 #include "terminfo.pro"
       
Thanks,
Mads Martin
-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic and
totally illogic, with just a little bit more effort."
                                -- A. P. J.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Small oneliner to fix warnings
  2001-04-18 19:18 Small oneliner to fix warnings Mads Martin Jørgensen
@ 2001-04-18 20:49 ` Bart Schaefer
  2001-04-19  1:46   ` Mads Martin Jørgensen
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2001-04-18 20:49 UTC (permalink / raw)
  To: Mads Martin Jørgensen, zsh-workers

On Apr 18, 12:18pm, Mads Martin Jørgensen wrote:
} Subject: Small oneliner to fix warnings
}
} The warning:
} 
} terminfo.c:69: warning: cast to pointer from integer of different size
} terminfo.c:168: warning: cast to pointer from integer of different size

There were a series of patches (zsh-workers 13922, 13934, 13936, 13961,
13965, 13972) that appeared after the 4.0.1-pre-3 tarball was released,
to address similar problems.  Does your patch apply before or after those
other patches?  That is, are you building zsh from the tarball or from
the CVS sources on SourceForge?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Small oneliner to fix warnings
  2001-04-18 20:49 ` Bart Schaefer
@ 2001-04-19  1:46   ` Mads Martin Jørgensen
  0 siblings, 0 replies; 3+ messages in thread
From: Mads Martin Jørgensen @ 2001-04-19  1:46 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: zsh-workers

* Bart Schaefer <schaefer@candle.brasslantern.com> [Apr 18. 2001 13:50]:
> On Apr 18, 12:18pm, Mads Martin Jørgensen wrote:
> } Subject: Small oneliner to fix warnings
> }
> } The warning:
> } 
> } terminfo.c:69: warning: cast to pointer from integer of different size
> } terminfo.c:168: warning: cast to pointer from integer of different size
> 
> There were a series of patches (zsh-workers 13922, 13934, 13936, 13961,
> 13965, 13972) that appeared after the 4.0.1-pre-3 tarball was released,
> to address similar problems.  Does your patch apply before or after those
> other patches?  That is, are you building zsh from the tarball or from
> the CVS sources on SourceForge?

I'm building from the tar-ball, so it's vanilla 4.0.1-pre-3.
I had a suspicion that it was fixed already, but I could not find it in
my 3 month archives, so I decided to post it.

Take care,
Mads Martin
-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic and
totally illogic, with just a little bit more effort."
                                -- A. P. J.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-19  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-18 19:18 Small oneliner to fix warnings Mads Martin Jørgensen
2001-04-18 20:49 ` Bart Schaefer
2001-04-19  1:46   ` Mads Martin Jørgensen

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).