lkml.org 
[lkml]   [2000]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.47 imac build?
Brad Parker wrote:
>
> Anyone know how to cure the message:
>
> /usr/src/linux-2.3.47/include/linux/fs.h:769: warning: implicit declaration of function `abs'
>
> in the 2.3.47 build?
>
> abs is #defined in stdlib.h but I'm not sure that's used in the kernel builds.
>
> (did I miss some patches?)

It is harmless, and the warning has been around for a while.

Someone needs to

1) investigate why this warning does not occur on x86. (is it a gcc
builtin?)

2) grep through the entire tree, and clean up all the references to abs,
perhaps moving the definition of abs() to common header file

--
Jeff Garzik |
Building 1024 | Viva la open source!
MandrakeSoft, Inc. |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.074 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site