warning while making cast

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard Tobin

    #16
    Re: warning while making cast

    In article <gm6oh5-flo.ln1@jones.h omeip.net>,
    <lawrence.jones @siemens.comwro te:
    >Unfortunatel y, the ? might actually be supposed to be "fl" instead. (Or
    >potentially lots of other things, too, but the C Standard should only
    >have fi and fl ligatures.)
    It has some ffi ligatures too (e.g. in "suffix").

    -- Richard
    --
    In the selection of the two characters immediately succeeding the numeral 9,
    consideration shall be given to their replacement by the graphics 10 and 11 to
    facilitate the adoption of the code in the sterling monetary area. (X3.4-1963)

    Comment

    • Keith Thompson

      #17
      Re: warning while making cast

      lawrence.jones@ siemens.com writes:
      Jack Klein <jackklein@spam cop.netwrote:
      >I always do a search and replace of '?' with "fi" before I post a
      >paste from Foxit.
      >
      Unfortunately, the ? might actually be supposed to be "fl" instead. (Or
      potentially lots of other things, too, but the C Standard should only
      have fi and fl ligatures.)
      Or it could be an actual question mark. (In practice, I rarely if
      ever quote so much from the standard that a manual search-and-replace
      is impractical.)

      --
      Keith Thompson (The_Other_Keit h) kst-u@mib.org <http://www.ghoti.net/~kst>
      Nokia
      "We must do something. This is something. Therefore, we must do this."
      -- Antony Jay and Jonathan Lynn, "Yes Minister"

      Comment

      • lawrence.jones@siemens.com

        #18
        Re: warning while making cast

        Richard Tobin <richard@cogsci .ed.ac.ukwrote [quoting me]:
        >
        the C Standard should only have fi and fl ligatures.
        >
        It has some ffi ligatures too (e.g. in "suffix").
        Are you sure? The original PostScript most definitely does not, and I
        wouldn't expect the conversion to PDF to change that.

        -- Larry Jones

        Moms and reason are like oil and water. -- Calvin

        Comment

        • Jack Klein

          #19
          Re: warning while making cast

          On 6 Jun 2008 07:31:19 GMT, richard@cogsci. ed.ac.uk (Richard Tobin)
          wrote in comp.lang.c:
          In article <pl8h445i08n698 ivr1e7t9kl877t6 8qe06@4ax.com>,
          Jack Klein <jackklein@spam cop.netwrote:
          >
          I assume you're using Foxit for a PDF reader. Surely you've noticed
          that it does not handle the single glyph combining the letter
          combination "fi" in some documents, including the C standard.
          >
          It has handled it corrrectly. The post you were replying to contained
          the unicode characters for the ligatures, encoded in UTF-8. The
          problem is presumably that your newsreader (like mine) does not
          display UTF-8 correctly.
          Interesting, Richard, I had never thought of that.

          However, my newsreader is doing exactly what I want it to. It
          displays ASCII text, and nothing but ASCII text. It doesn't render
          HTML. It doesn't send requests for embedded web bugs to the spammer's
          server. It doesn't display images. It doesn't execute javascript. It
          does nothing but good old, and absolutely safe, ASCII text.

          I've been using Agent, the inexpensive paid version, for 10 years now.
          No antivirus email scanning needed or wanted.

          And I'll be using it 10 years from now, if I'm still using email and
          usenet.

          --
          Jack Klein
          Home: http://JK-Technology.Com
          FAQs for
          comp.lang.c http://c-faq.com/
          comp.lang.c++ http://www.parashift.com/c++-faq-lite/
          alt.comp.lang.l earn.c-c++

          Comment

          • Mark McIntyre

            #20
            Re: warning while making cast

            lawrence.jones@ siemens.com wrote:
            Richard Tobin <richard@cogsci .ed.ac.ukwrote [quoting me]:
            >>the C Standard should only have fi and fl ligatures.
            >It has some ffi ligatures too (e.g. in "suffix").
            >
            Are you sure? The original PostScript most definitely does not, and I
            wouldn't expect the conversion to PDF to change that.
            It hasn't in my copy. Perhaps its an artefact of the reader?

            Comment

            • Richard Tobin

              #21
              Re: warning while making cast

              In article <2jpoh5-kv7.ln1@jones.h omeip.net>,
              <lawrence.jones @siemens.comwro te:
              the C Standard should only have fi and fl ligatures.
              >It has some ffi ligatures too (e.g. in "suffix").
              >Are you sure? The original PostScript most definitely does not, and I
              >wouldn't expect the conversion to PDF to change that.
              I am looking at the BSI versions, so I suppose it is possible
              that they have been re-typeset.

              In C99+TC1, in the table of contents on page vi, the entry 7.12.12 has
              an ff ligature in "difference ".

              In the integer-constant production on page 54, there is an ffi
              ligature in "integer-suffix".

              The ffi ligature is also there in my BSI C90 copy.

              -- Richard
              --
              In the selection of the two characters immediately succeeding the numeral 9,
              consideration shall be given to their replacement by the graphics 10 and 11 to
              facilitate the adoption of the code in the sterling monetary area. (X3.4-1963)

              Comment

              • lawrence.jones@siemens.com

                #22
                Re: warning while making cast

                Richard Tobin <richard@cogsci .ed.ac.ukwrote:
                >
                I am looking at the BSI versions, so I suppose it is possible
                that they have been re-typeset.
                I'm pretty sure they were, which would explain it.

                -- Larry Jones

                I don't like these stories with morals. -- Calvin

                Comment

                Working...