From: "Frederico Jerónimo" Newsgroups: comp.os.msdos.djgpp Subject: " Warning : indirect ljmp without '*' " (AS) Date: Sat, 25 Nov 2000 13:22:21 -0000 Lines: 59 Message-ID: <8voegk$dv5$1@venus.telepac.pt> NNTP-Posting-Host: 213.22.25.191 X-Trace: venus.telepac.pt 975158612 14309 213.22.25.191 (25 Nov 2000 13:23:32 GMT) X-Complaints-To: abuse AT mail DOT telepac DOT pt NNTP-Posting-Date: 25 Nov 2000 13:23:32 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi all, I've built a program that uses an assembly based wrapper to install hardware interrupt handlers. The program compiled just fine under djgpp 2.02. I then got djgpp latest version (2.03) and despite the program still working ok I get a strange warning every time I compile : "Indirect ljmp without '*'" in my AS wrapper file. Here's a portion of the affected code (inspired from the allegro irqwrap.s file) : --------------------------------------------------------------------- #define WRAPPER(x) ; \ .globl __irq_wrapper_##x ; \ .align 4 ; \ ; \ __irq_wrapper_##x: ; \ /* wrapper code */ ... iret /* MAX_IRQ wrappers defined */ WRAPPER(0); /* each of these lines reports the above warning */ WRAPPER(1); WRAPPER(2); WRAPPER(3); WRAPPER(4); WRAPPER(5); WRAPPER(6); WRAPPER(7); .globl __irq_wrapper_0_end /* To calculate function size */ .align 4 __irq_wrapper_0_end: ret --------------------------------------------------------------------- Can someone help me and explain me what is happening? Thanks in advance. Frederico Jerónimo ---------------------------------------------------------------------------- ------------------------------------------- Frederico Jerónimo DarkRealms AT netcabo DOT pt Dark Realms : http://mega.ist.utl.pt/~fjds/ Programming, graphics, medieval & fantasy info, texts & quotations, music...