lkml.org 
[lkml]   [2000]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: 2.2.18 asm-alpha/system.h has a problem
    Date
    In article <20001218184531Z132357-439+4699@vger.kernel.org>,
    Timur Tabi <ttabi@interactivesi.com> wrote:
    >** Reply to message from Peter Samuelson <peter@cadcamlab.org> on Mon, 18 Dec
    >2000 09:03:00 -0600 (CST)
    >> Not a compiler bug, a source bug of assuming a C header file can be
    >> included by a C++ program. The right solution, as always, is to make a
    >> copy of the header (assuming you really do need it) and edit the copy
    >> as necessary.
    >
    >That just creates more maintenance problems. What if the kernel header file
    >changes? Then he'll have to change his copy as well. He'll forever need to
    >check changes in that kernel header file, or risk having an obscure bug that's
    >otherwise hard to track.

    No, in fact that is the desired behaviour. If the kernel include files
    change, chances are very big that the source of the utility (or library)
    needs adjustments as well. In fact if you simply recompile the old
    source with the new header files you might get unwanted and unexpected
    behaviour, whereas if you recompile with the older header defs you'll
    simply use an advertized api that might not be the latest but works

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

    \
     
     \ /
      Last update: 2005-03-22 12:52    [W:0.023 / U:59.204 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site