Mail Archives: djgpp/2000/04/19/11:23:52
Alexandre Devaure <Alexandre DOT Devaure AT leroy-autom DOT com> wrote:
> Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> a écrit dans le
> message : 8dkfaj$rk1$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE...
>> Alexandre Devaure <Alexandre DOT Devaure AT leroy-autom DOT com> wrote:
[...]
>> I've never used or seen anyone use inline assembly in C++ programs,
>> but even so, one of the things you should try is to replace the
>> keywords by their ANSI standard-blessed equivalents,
>>
>> __asm__ __volatile__ ("pushf");
>>
> I tried and the error message was the same.
That's a bit strange. I compiled your code (as a .cc file, directly,
as you hadn't provided the main source file, nor any other module), on
a Linux installation of gcc-2.95.2, and it accepted it without any
complaints. Which means this is either a problem with the DJGPP build
of gcc-2.95.2, or the actual problem is elsewhere in your program,
i.e. in those parts you didn't show.
Could you try and cut down the source to the absolute minimum that
still reports that compiler error, and post the result?
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -