[lkml]   [2001]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: iso9660 endianness cleanup patch
    Linus Torvalds writes:

    > Btw, please use "static inline" instead of "extern inline", as gcc may
    > decide not to inline the latter at all, leading to confusing link-time
    > errors. (Gcc may also decide not to inline "static inline", but then gcc
    > will output the actual body of the function out-of-line if it gets used,
    > so you don't get the link-time failure).
    > Right now only certain broken versions of gcc will actually show this
    > behaviour, I think, but it's at least in theory going to be an issue.

    Since the best choice depends on compiler version:

    #define __inline extern inline
    #define __inline static inline

    (that, or _INLINE if you prefer)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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