Loading ...
Sorry, an error occurred while loading the content.

Warnings with 2003-03-31 compilation

Expand Messages
  • Sebastien Pierre
    Hi! Just a notice that there are two warnings when compiling IoLexer.c with gcc on Linux (I used GNUstep makefile system to compile Io): Sources/Io/IoLexer.c:
    Message 1 of 3 , Apr 2 12:02 AM
    View Source
    • 0 Attachment
      Hi!

      Just a notice that there are two warnings when compiling IoLexer.c with gcc on Linux (I used GNUstep makefile system to compile Io):

      Sources/Io/IoLexer.c: Dans la fonction « IoLexer_readMonoQuote »:
      Sources/Io/IoLexer.c:405: WARNING: comparison between pointer and integer
      Sources/Io/IoLexer.c: Dans la fonction « IoLexer_readTriQuote »:
      Sources/Io/IoLexer.c:423: WARNING: comparison between pointer and integer

      Cheers,

      -- Sebastien
    • Sebastien Pierre
      Hi Steve! On Wed, 2 Apr 2003 02:09:59 -0800 ... Yes! this fixes the warning (you ve got to do it at both line 405 and 423). -- Sebastien
      Message 2 of 3 , Apr 2 1:14 AM
      View Source
      • 0 Attachment
        Hi Steve!

        On Wed, 2 Apr 2003 02:09:59 -0800
        Steve Dekorte <steve@...> wrote:
        > Thanks for the feedback. Is it in this line?:
        >
        > if (c == NULL) { IoLexer_popPosBack(self); return 0; }
        >
        > If so, does this fix it?:
        >
        > if (c == 0x0) { IoLexer_popPosBack(self); return 0; }

        Yes! this fixes the warning (you've got to do it at both line 405 and 423).

        -- Sebastien
      • Steve Dekorte
        Sebastien, Thanks for the feedback. Is it in this line?: if (c == NULL) { IoLexer_popPosBack(self); return 0; } If so, does this fix it?: if (c == 0x0) {
        Message 3 of 3 , Apr 2 2:09 AM
        View Source
        • 0 Attachment
          Sebastien,

          Thanks for the feedback. Is it in this line?:

          if (c == NULL) { IoLexer_popPosBack(self); return 0; }

          If so, does this fix it?:

          if (c == 0x0) { IoLexer_popPosBack(self); return 0; }

          Cheers,
          Steve
          Io, a small language: http://www.iolanguage.com/
        Your message has been successfully submitted and would be delivered to recipients shortly.