DragonFly BSD
DragonFly kernel List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: __signed usage in ansi.h


From: Bosko Milekic <bmilekic@xxxxxxxxxxxxxxxx>
Date: Sun, 10 Aug 2003 17:29:59 +0000

On Sun, Aug 10, 2003 at 02:07:23PM -0700, Matthew Dillon wrote:
. ..
>     What we can't do is replace things like '__inline' with 'inline'.  We
>     need to keep __inline intact in order to maintain compatibility with
>     compilers that do not support inlining (where one can #define __inline
>     to nothing and the code then becomes static-like).  It is simply too
>     dangerous to force those environments to define 'inline' to nothing,
>     which is why __inline exists.

  Note that even if you do support such compilers you're probably in
  trouble as some inlines are defined in header files which, if they are
  not kept as inlines, will lead to needless re-definition and possibly
  some re-definition fatal to the compile.

> 						-Matt

-- 
Bosko Milekic  *  bmilekic@xxxxxxxxxxxxxxxx  *  bmilekic@xxxxxxxxxxx
TECHNOkRATIS Consulting Services  *  http://www.technokratis.com/



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