Re: [PATCH]: fix compiler warnings in the math-emulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "maciej" == Maciej W Rozycki <macro@ds2.pg.gda.pl> writes:

maciej> On 18 Dec 2002, Juan Quintela wrote:
>> this patch does:
>> 
>> * redefine SETCX to only set cx
>> * define a new macre SETANDTESTCX for the few cases when we also want to
>> test the value set.

maciej> Is it needed?  The part that returns .mx should be optimized away by the
maciej> compiler automagically if unused. 

Idea was to make things compile without warnings, that way when you
change anything, you search for warnings :(

With the changes that I sent, I have put the warnings levels down to
(for IP22) to:
     - 7 C warnings
     - 2 Asm warnings

And some of the remaining warnings are printk(), where we mix ints &
longs all around (no problem if the code is not the same than in 64
bits, otherwise, problem :(

Later, Juan.

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux