delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/27/19:15:18

Message-ID: <3B61F2ED.CDBAEFB7@hotmail.nospam.com>
From: Ian Rees <ianr44 AT hotmail DOT nospam DOT com>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: .mak files
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010726095348 DOT 28739I-100000 AT is> <996140448 DOT 528135 AT queeg DOT ludd DOT luth DOT se> <3B607842 DOT 1350BDEA AT hotmail DOT nospam DOT com> <3B60BD40 DOT 475957DD AT hotmail DOT nospam DOT com> <7263-Fri27Jul2001115339+0300-eliz AT is DOT elta DOT co DOT il> <3B61999B DOT 6715A67B AT hotmail DOT nospam DOT com> <200107271929 DOT PAA09048 AT delorie DOT com>
Lines: 44
Date: Fri, 27 Jul 2001 19:02:05 -0400
NNTP-Posting-Host: 63.80.121.45
X-Trace: eagle.america.net 996274925 63.80.121.45 (Fri, 27 Jul 2001 19:02:05 EDT)
NNTP-Posting-Date: Fri, 27 Jul 2001 19:02:05 EDT
Organization: 24hoursupport.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

#pragma argsused

The software is working correctly, I have figured out that something in my
computer isn't.  I think that the problem is that Win98 is controlling the
serial ports.  I'm going to try to set up my program on an old DOS box.
Thanks!

                                                           -Ian-

Eli Zaretskii wrote:

> > From: Ian Rees <ianr44 AT hotmail DOT nospam DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 27 Jul 2001 12:40:59 -0400
> >
> > com.c:2514 warning: ignoring pragma:argsused
> >           ^^^^
>
> This is probably harmless: I'd guess that pragma was for another
> compiler.  It might be a good idea to post the offending line, though.
>
> >     The other one is the same, but for line 2555
> >
> > The warning that has me confused is:
> > d:/djgpp/tmp\ccCdyapr.s: Assembler messages:
> > d:/djgpp/tmp\ccCdyapr.s:41: Warning: indirect ljmp without '*'
> >                                       ^^
> >     There are warnings for line number 41-56 with exactly the same
> > message.
> >
> > Now, because the above .s file is temporary, how can I tell what it is
> > doing?
>
> Look for ljmp instruction which jumps though a variable without a `*'
> prepended to the variable name.  It should probably be on line 41 of
> the original .S file, or thereabouts.  If you cannot figure out which
> line is that, add -save-temps switch to the GCC command line, and look
> at the .s (small s) file it leaves behind.  By comparing .S and .s
> files, you will be able to find the offending line in the .S file.
>
> The problem with the `*' is real: it is invalid assembly to make
> indirect jump without an asterisk.  However, I think the assembler
> assumes you meant `*' and produces correct code anyway.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019