Mail Archives: djgpp/2001/07/27/15:30:57
> 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 -