lkml.org 
[lkml]   [2002]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] 2.5.10 IDE 42
    Martin Dalecki wrote:
    > Uz.ytkownik Sebastian Droege napisa?:
    >
    >> On Fri, 26 Apr 2002 09:41:30 +0200
    >> Martin Dalecki <dalecki@evision-ventures.com> wrote:
    >>
    >> Hi,
    >>
    >> @@ -584,27 +585,25 @@
    >> drive->failures = 0;
    >> } else {
    >> drive->failures++;
    >> + char *msg = "";
    >>
    >> My compiler won't compile that ;)
    >> Declare msg after the function's beginning and it compiles fine
    >
    >
    > Well it doesn't has to be the function it sufficient to be
    > the beginng of a block. However this is puzzling me,
    > becouse the gcc-3.1 snap eats the above just like if it
    > where a C++ complier!!!
    >
    > Thank you for pointing out.

    Note the "mixed declarations and code" @
    http://www.gnu.org/software/gcc/gcc-3.0/c99status.html

    Padraig.


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

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