www.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Trace-PostClient-IP: | 68.147.131.211 |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT Invalid> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Strange error message |
Organization: | Systematic Software |
Message-ID: | <881s7095ggj9m6p170sl1b7o70l0kppq01@4ax.com> |
References: | <84e4e2a9 DOT 0404140726 DOT 77691a0d AT posting DOT google DOT com> <fn9r70le8rmg064akh5qmr259l9rvlfn1i AT 4ax DOT com> <84e4e2a9 DOT 0404141900 DOT 6c91e977 AT posting DOT google DOT com> |
X-Newsreader: | Forte Agent 1.93/32.576 English (American) |
MIME-Version: | 1.0 |
Lines: | 22 |
Date: | Thu, 15 Apr 2004 03:45:16 GMT |
NNTP-Posting-Host: | 24.71.223.147 |
X-Complaints-To: | abuse AT shaw DOT ca |
X-Trace: | pd7tw3no 1082000716 24.71.223.147 (Wed, 14 Apr 2004 21:45:16 MDT) |
NNTP-Posting-Date: | Wed, 14 Apr 2004 21:45:16 MDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On 14 Apr 2004 20:00:29 -0700 in comp.os.msdos.djgpp, jbs30000 AT aol DOT com (Joel) wrote: >> The example in libc.info node >> _go32_dpmi_allocate_real_mode_callback_iret is incorrect, as you need >> to cast your function pointer to the unsigned long pm_offset: >> >> info.pm_offset = (unsigned long)my_handler; >> >> and the -ansi compiler option is out! > >Thanks, yeah, I wondered about casting after posting this message, and >sure enough, that's what it is. Oh, and what do you mean by "the >-ansi compiler option is out" ? The (non-standard) header contents are skipped if -ansi is specified. -- Thanks. Take care, Brian Inglis Calgary, Alberta, Canada Brian DOT Inglis AT CSi DOT com (Brian dot Inglis at SystematicSw dot ab dot ca) fake address use address above to reply
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |