delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/12/08:16:34

Date: Tue, 12 Jul 94 08:10:17 EST
From: acmq AT alpha DOT coe DOT ufrj DOT br (Antonio Carlos Moreirao de Queiroz)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Interrupt 33 and format warnings

Hi,

I have two questions:

I compiled with gcc a mouse driver I wrote for Borland C. The driver uses Int 33
and some calls to Int 16 to treat keyboard events. The driver works correctly,
in graphic mode, but the program that uses it starts drawing everything in
black after the mouse is activated. The keyboard operation is correct. I used
the int86 function, and tried also the _go32_..._int function, with the same
results. I wrote another driver with mousex calls, and it works correctly, 
although with slower response. The program uses BGI calls to draw, using the
bcc2grx package, in a standard VGA display. Some idea?

Why gcc prints warnings when I use %lf, %le, and %lg formats to print doubles?

Thanks,

Antonio Carlos M. de Queiroz

- Raw text -


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