structure padding

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rod Pemberton

    #16
    Re: structure padding


    "Keith Thompson" <kst-u@mib.org> wrote in message
    news:lnoe1p2yyt .fsf@nuthaus.mi b.org...[color=blue]
    > "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:[color=green]
    > > "Keith Thompson" <kst-u@mib.org> wrote in message
    > > news:lnhd7hblco .fsf@nuthaus.mi b.org...[color=darkred]
    > >> "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:[/color][/color]
    > [...][color=green][color=darkred]
    > >> > #ifdef __DJGPP__
    > >> > #define HANDLE_PRAGMA_P ACK_PUSH_POP 1
    > >> > #endif
    > >>
    > >> You never use this macro.[/color]
    > >
    > > Correct. DJGPP needs it to enable '#pragma pack' and '#pragma push'.[/color]
    > [...][color=green][color=darkred]
    > >> > #pragma pack(push,1)
    > >> [snip]
    > >>
    > >> "#pragma pack" is non-standard.[/color]
    > >
    > > Correct again. All packing methods are non-standard.[/color]
    > [...]
    >
    > And therefore off-topic.
    >[/color]

    Vladimir already said he thought the whole thread was off topic, but
    apparently a bunch of people disagree with both of you.

    Rod Pemberton


    Comment

    • Richard Bos

      #17
      Re: structure padding

      "Rod Pemberton" <dont_have@bitb ucket.cmm> wrote:[color=blue]
      >
      > "Keith Thompson" <kst-u@mib.org> wrote in message
      > news:lnoe1p2yyt .fsf@nuthaus.mi b.org...[color=green]
      > > "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:[color=darkred]
      > > > Correct again. All packing methods are non-standard.[/color]
      > > [...]
      > >
      > > And therefore off-topic.[/color]
      >
      > Vladimir already said he thought the whole thread was off topic, but
      > apparently a bunch of people disagree with both of you.[/color]

      Well, yes. I disagree that the _whole_ thread is off topic. The mere
      possibility of packing bytes is ISO Standard C. Any implementation-
      specific ways of munging them is not, though, and therefore your DJGPP-
      and-Watcom-only solution _is_ off topic.

      Richard

      Comment

      • Rod Pemberton

        #18
        Re: structure padding


        "Richard Bos" <rlb@hoekstra-uitgeverij.nl> wrote in message
        news:43e3073d.8 52031656@news.x s4all.nl...[color=blue]
        > "Rod Pemberton" <dont_have@bitb ucket.cmm> wrote:[color=green]
        > >
        > > "Keith Thompson" <kst-u@mib.org> wrote in message
        > > news:lnoe1p2yyt .fsf@nuthaus.mi b.org...[color=darkred]
        > > > "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:
        > > > > Correct again. All packing methods are non-standard.
        > > > [...]
        > > >
        > > > And therefore off-topic.[/color]
        > >
        > > Vladimir already said he thought the whole thread was off topic, but
        > > apparently a bunch of people disagree with both of you.[/color]
        >
        > Well, yes. I disagree that the _whole_ thread is off topic. The mere
        > possibility of packing bytes is ISO Standard C. Any implementation-
        > specific ways of munging them is not, though, and therefore your DJGPP-
        > and-Watcom-only solution _is_ off topic.[/color]

        A) Implementation extensions to C are still C. C is not a static language.
        Go study the history of the development of C from an interpreted typeless
        language similar to FORTH. Go find out why operators like '=>>', '=+' were
        changed to '>>=', '+=' and then come back me and try to claim that the only
        C is specification X,Y, or Z.

        B) One can't offer a solution without a request. I gifted a useful code
        sample out of generosity to one who is learning about packing. Go back and
        reread my post. If you can't comprehend _that_ from my post, you shouldn't
        be reading.

        C) It amazes me that there are so many people _here_ who incessantly whine
        about things that are _beyond_ their control, like: judgemental off-topic
        posts, top posting, cutting reply signatures. The 'perceived constraints'
        that you experience are _you're_ problem. Not mine. Honestly, whining
        about these things reminds me of the bickering of immature little children.
        Keep it to yourself and learn to deal with it.


        Rod Pemberton


        Comment

        • CBFalconer

          #19
          Re: structure padding

          Rod Pemberton wrote:[color=blue]
          >[/color]
          .... snip ...[color=blue]
          >
          > C) It amazes me that there are so many people _here_ who incessantly
          > whine about things that are _beyond_ their control, like: judgemental
          > off-topic posts, top posting, cutting reply signatures. The
          > 'perceived constraints' that you experience are _you're_ problem.
          > Not mine. Honestly, whining about these things reminds me of the
          > bickering of immature little children. Keep it to yourself and learn
          > to deal with it.[/color]

          However the whining bickering immature children often grow up into
          useful adults, provided they are corrected when whining, bickering,
          or otherwise acting immature. Here we can only identify the
          children by their immature actions, such as top-posting, omitting
          context, chopping off attributions, failure to snip.

          --
          "The power of the Executive to cast a man into prison without
          formulating any charge known to the law, and particularly to
          deny him the judgement of his peers, is in the highest degree
          odious and is the foundation of all totalitarian government
          whether Nazi or Communist." -- W. Churchill, Nov 21, 1943


          Comment

          • Keith Thompson

            #20
            Re: structure padding

            "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:
            [snip][color=blue]
            > C) It amazes me that there are so many people _here_ who incessantly whine
            > about things that are _beyond_ their control, like: judgemental off-topic
            > posts, top posting, cutting reply signatures. The 'perceived constraints'
            > that you experience are _you're_ problem. Not mine. Honestly, whining
            > about these things reminds me of the bickering of immature little children.
            > Keep it to yourself and learn to deal with it.[/color]

            Um, no.

            There are very good reasons why we try to encourage people to follow
            some simple posting guidelines here. Jack Klein did an excellent job
            of explaining those reasons. Please read this:

            <http://groups.google.c om/group/comp.lang.c/msg/1460ed5b9ad3dae 1?hl=en>

            --
            Keith Thompson (The_Other_Keit h) kst-u@mib.org <http://www.ghoti.net/~kst>
            San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
            We must do something. This is something. Therefore, we must do this.

            Comment

            • Rod Pemberton

              #21
              Re: structure padding


              "CBFalconer " <cbfalconer@yah oo.com> wrote in message
              news:43E36A50.8 A50A2E3@yahoo.c om...[color=blue]
              > Rod Pemberton wrote:[color=green]
              > >[/color]
              > ... snip ...[color=green]
              > >
              > > C) It amazes me that there are so many people _here_ who incessantly
              > > whine about things that are _beyond_ their control, like: judgemental
              > > off-topic posts, top posting, cutting reply signatures. The
              > > 'perceived constraints' that you experience are _you're_ problem.
              > > Not mine. Honestly, whining about these things reminds me of the
              > > bickering of immature little children. Keep it to yourself and learn
              > > to deal with it.[/color]
              >
              > However the whining bickering immature children often grow up into
              > useful adults, provided they are corrected when whining, bickering,
              > or otherwise acting immature. Here we can only identify the
              > children by their immature actions, such as top-posting, omitting
              > context, chopping off attributions, failure to snip.[/color]

              They aren't the ones whining, bickering, and acting immature... You are.


              Rod Pemberton


              Comment

              • Rod Pemberton

                #22
                Re: structure padding


                "Keith Thompson" <kst-u@mib.org> wrote in message
                news:lnvevwt926 .fsf@nuthaus.mi b.org...[color=blue]
                > "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:
                > [snip][color=green]
                > > C) It amazes me that there are so many people _here_ who incessantly[/color][/color]
                whine[color=blue][color=green]
                > > about things that are _beyond_ their control, like: judgemental[/color][/color]
                off-topic[color=blue][color=green]
                > > posts, top posting, cutting reply signatures. The 'perceived[/color][/color]
                constraints'[color=blue][color=green]
                > > that you experience are _you're_ problem. Not mine. Honestly, whining
                > > about these things reminds me of the bickering of immature little[/color][/color]
                children.[color=blue][color=green]
                > > Keep it to yourself and learn to deal with it.[/color]
                >
                > Um, no.[/color]

                Um, yes.
                [color=blue]
                > There are very good reasons why we try to encourage people to follow
                > some simple posting guidelines here. Jack Klein did an excellent job
                > of explaining those reasons.[/color]

                I don't need to read any of his reasons to know they are totally irrevelant.
                You may agree with his statements. But, it doesn't change the fact that you
                need to learn accept things the way they are.


                Rod Pemberton







                Comment

                • Keith Thompson

                  #23
                  Re: structure padding

                  "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:[color=blue]
                  > "Keith Thompson" <kst-u@mib.org> wrote in message
                  > news:lnvevwt926 .fsf@nuthaus.mi b.org...[color=green]
                  >> "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:
                  >> [snip][color=darkred]
                  >> > C) It amazes me that there are so many people _here_ who
                  >> > incessantly whine about things that are _beyond_ their control,
                  >> > like: judgemental off-topic posts, top posting, cutting reply
                  >> > signatures. The 'perceived constraints' that you experience are
                  >> > _you're_ problem. Not mine. Honestly, whining about these
                  >> > things reminds me of the bickering of immature little children.
                  >> > Keep it to yourself and learn to deal with it.[/color]
                  >>
                  >> Um, no.[/color]
                  >
                  > Um, yes.
                  >[color=green]
                  >> There are very good reasons why we try to encourage people to follow
                  >> some simple posting guidelines here. Jack Klein did an excellent job
                  >> of explaining those reasons.[/color]
                  >
                  > I don't need to read any of his reasons to know they are totally
                  > irrevelant.[/color]

                  Yes, you do.
                  [color=blue]
                  > You may agree with his statements. But, it doesn't change the fact that you
                  > need to learn accept things the way they are.[/color]

                  I strongly suggest you read Jack's article anyway. You might or might
                  not agree, but what he wrote happens to represent the consensus of the
                  regulars of this newsgroup (trolls excluded). You are, of course,
                  free to jam your fists into your ears and shout "LALALALALA " until the
                  bad people stop talking to you.

                  You make an interesting point about accepting things the way they are.
                  The same logic implies we should accept spam.

                  Let me explain to you the way things are. This newsgroup is about
                  standard C. If you're unwilling to accept that, you will be unable to
                  participate. Many of the people who happen to know a lot about the
                  topic will killfile you. I'm sure some of them have already.

                  If people who know more about this than you do tell you that you're
                  wrong, you should consider listening to them rather than whining.

                  --
                  Keith Thompson (The_Other_Keit h) kst-u@mib.org <http://www.ghoti.net/~kst>
                  San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
                  We must do something. This is something. Therefore, we must do this.

                  Comment

                  • Mark McIntyre

                    #24
                    Re: structure padding

                    On Fri, 03 Feb 2006 23:39:52 GMT, in comp.lang.c , "Rod Pemberton"
                    <dont_have@bitb ucket.cmm> wrote:
                    [color=blue]
                    >
                    >"Keith Thompson" <kst-u@mib.org> wrote in message
                    >news:lnvevwt92 6.fsf@nuthaus.m ib.org...[/color]
                    [color=blue][color=green]
                    >> There are very good reasons why we try to encourage people to follow
                    >> some simple posting guidelines here. Jack Klein did an excellent job
                    >> of explaining those reasons.[/color]
                    >
                    >I don't need to read any of his reasons to know they are totally irrevelant.[/color]

                    I see. You just don't care. Nice.
                    [color=blue]
                    >You may agree with his statements. But, it doesn't change the fact that you
                    >need to learn accept things the way they are.[/color]

                    There's an alternative - you, yes, you, need to accept things the way
                    they are in CLC.
                    Can't handle that? Don't like it? Tough.
                    Mark McIntyre
                    --
                    "Debugging is twice as hard as writing the code in the first place.
                    Therefore, if you write the code as cleverly as possible, you are,
                    by definition, not smart enough to debug it."
                    --Brian Kernighan

                    ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
                    http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
                    ----= East and West-Coast Server Farms - Total Privacy via Encryption =----

                    Comment

                    • Default User

                      #25
                      Re: structure padding

                      Rod Pemberton wrote:

                      [color=blue]
                      > I don't need to read any of his reasons to know they are totally
                      > irrevelant. You may agree with his statements. But, it doesn't
                      > change the fact that you need to learn accept things the way they are.[/color]

                      *plonk*


                      Brian

                      Comment

                      • Rod Pemberton

                        #26
                        Re: structure padding


                        "Keith Thompson" <kst-u@mib.org> wrote in message
                        news:ln8xssj710 .fsf@nuthaus.mi b.org...[color=blue]
                        > "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:[color=green]
                        > > "Keith Thompson" <kst-u@mib.org> wrote in message
                        > > news:lnvevwt926 .fsf@nuthaus.mi b.org...[color=darkred]
                        > >> "Rod Pemberton" <dont_have@bitb ucket.cmm> writes:
                        > >> [snip]
                        > >> > C) It amazes me that there are so many people _here_ who
                        > >> > incessantly whine about things that are _beyond_ their control,
                        > >> > like: judgemental off-topic posts, top posting, cutting reply
                        > >> > signatures. The 'perceived constraints' that you experience are
                        > >> > _you're_ problem. Not mine. Honestly, whining about these
                        > >> > things reminds me of the bickering of immature little children.
                        > >> > Keep it to yourself and learn to deal with it.
                        > >>
                        > >> Um, no.[/color]
                        > >
                        > > Um, yes.
                        > >[color=darkred]
                        > >> There are very good reasons why we try to encourage people to follow
                        > >> some simple posting guidelines here. Jack Klein did an excellent job
                        > >> of explaining those reasons.[/color]
                        > >
                        > > I don't need to read any of his reasons to know they are totally
                        > > irrevelant.[/color]
                        >
                        > Yes, you do.
                        >[color=green]
                        > > You may agree with his statements. But, it doesn't change the fact that[/color][/color]
                        you[color=blue][color=green]
                        > > need to learn accept things the way they are.[/color]
                        >
                        > I strongly suggest you read Jack's article anyway. You might or might
                        > not agree, but what he wrote happens to represent the consensus of the
                        > regulars of this newsgroup (trolls excluded). You are, of course,
                        > free to jam your fists into your ears and shout "LALALALALA " until the
                        > bad people stop talking to you.
                        > You make an interesting point about accepting things the way they are.
                        > The same logic implies we should accept spam.
                        >
                        > Let me explain to you the way things are. This newsgroup is about
                        > standard C. If you're unwilling to accept that, you will be unable to
                        > participate. Many of the people who happen to know a lot about the
                        > topic will killfile you. I'm sure some of them have already.[/color]

                        This is comp.lang.c not comp.lang.c.iso or comp.lang.c.ans i or
                        comp.lang.c.knr ... The point which you seem unable to comprehend is that
                        _you're_ whining. And, it's irritating people. I know what my IQ is. I
                        know how in depth my knowledge of C is. And, From my conversations with you
                        so far, you don't come close to either.
                        [color=blue]
                        > If people who know more about this than you do tell you that you're
                        > wrong, you should consider listening to them rather than whining.[/color]

                        I'm not the one whining. You are. Incessantly, about top-posting,
                        inlining, google.. Out of the last thirty posts of yours, only one(1) has
                        contributed anything meaningful to any thread. Only one(1) hasn't been a
                        complaint. You may think of yourself as a regular, but given your posting
                        history you are the definition of a _TROLL_. I sincerely hope you aren't
                        referring to yourself when you mention 'people who know more about this than
                        you'...

                        Rod Pemberton



                        Comment

                        • Flash Gordon

                          #27
                          Re: structure padding

                          Rod Pemberton wrote:[color=blue]
                          > "Keith Thompson" <kst-u@mib.org> wrote in message[/color]

                          <snip>
                          [color=blue][color=green]
                          >> Let me explain to you the way things are. This newsgroup is about
                          >> standard C. If you're unwilling to accept that, you will be unable to
                          >> participate. Many of the people who happen to know a lot about the
                          >> topic will killfile you. I'm sure some of them have already.[/color]
                          >
                          > This is comp.lang.c not comp.lang.c.iso or comp.lang.c.ans i or
                          > comp.lang.c.knr ...[/color]

                          Yes, it's comp.lang.c, not
                          comp.lang.c.win dows.and.posix. and.vxworks.and .dos.and.aix.an d.everything.el se.under.the.su n
                          [color=blue]
                          > The point which you seem unable to comprehend is that
                          > _you're_ whining. And, it's irritating people. I know what my IQ is. I
                          > know how in depth my knowledge of C is. And, From my conversations with you
                          > so far, you don't come close to either.[/color]

                          My impression having seen Keith's posts since I've been on the group is
                          that he is highly knowledgeable and an intelligent chap.

                          You come across as the person whining about the group not being what you
                          want it to be.
                          [color=blue][color=green]
                          >> If people who know more about this than you do tell you that you're
                          >> wrong, you should consider listening to them rather than whining.[/color]
                          >
                          > I'm not the one whining. You are. Incessantly, about top-posting,
                          > inlining, google.. Out of the last thirty posts of yours, only one(1) has
                          > contributed anything meaningful to any thread. Only one(1) hasn't been a
                          > complaint. You may think of yourself as a regular, but given your posting
                          > history you are the definition of a _TROLL_. I sincerely hope you aren't
                          > referring to yourself when you mention 'people who know more about this than
                          > you'...[/color]

                          I believe the people Keith is referring to include members of the
                          standard committee, authors of successful C implementations (or parts
                          their of) and authors of successful books on C. Keith and the others
                          that correct peoples posting style also provide a lot of useful content
                          (I attempt to fall in to that category as well).

                          If you don't like the attitude of the regulars or the limits on what the
                          regulars consider to be topical, feel free to find yourself another group.
                          --
                          Flash Gordon
                          Living in interesting times.
                          Although my email address says spam, it is real and I read it.

                          Comment

                          • Mark McIntyre

                            #28
                            Re: structure padding

                            On Sat, 04 Feb 2006 04:39:49 GMT, in comp.lang.c , "Rod Pemberton"
                            <dont_have@bitb ucket.cmm> wrote:
                            [color=blue]
                            >This is comp.lang.c not comp.lang.c.iso or comp.lang.c.ans i or
                            >comp.lang.c.kn r...[/color]

                            Correct. and hte topic of comp.lang.c is use of the C Language as
                            defined by ISO.
                            [color=blue]
                            > The point which you seem unable to comprehend is that
                            >_you're_ whining. And, it's irritating people.[/color]

                            Wrong on both counts.

                            The point *you* seem unable to comprehend is that the topic of this
                            group is not Windows, nor unix, nor databases, nor TCPIP.

                            It doesn't matter that you can link your C code with libraries to
                            access these things, you can similarly do it from Fortran, Basic,
                            perl, python, and for all I know Haskell. These services are *not part
                            of C* and are therefore offtopic.
                            [color=blue]
                            >I know what my IQ is. I
                            >know how in depth my knowledge of C is. And, From my conversations with you
                            >so far, you don't come close to either.[/color]

                            I agree. It will be many decades before you can climb up to Keith's
                            level on either front, and meantime you'll need to learn some
                            humility.

                            Mark McIntyre
                            --
                            "Debugging is twice as hard as writing the code in the first place.
                            Therefore, if you write the code as cleverly as possible, you are,
                            by definition, not smart enough to debug it."
                            --Brian Kernighan

                            ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
                            http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
                            ----= East and West-Coast Server Farms - Total Privacy via Encryption =----

                            Comment

                            • Jordan Abel

                              #29
                              Re: structure padding

                              On 2006-02-04, Mark McIntyre <markmcintyre@s pamcop.net> wrote:[color=blue]
                              > On Sat, 04 Feb 2006 04:39:49 GMT, in comp.lang.c , "Rod Pemberton"
                              > <dont_have@bitb ucket.cmm> wrote:
                              >[color=green]
                              >>This is comp.lang.c not comp.lang.c.iso or comp.lang.c.ans i or
                              >>comp.lang.c.k nr...[/color]
                              >
                              > Correct. and hte topic of comp.lang.c is use of the C Language as
                              > defined by ISO.[/color]

                              Or as defined by ANSI in the 80s, or as defined by K&R in the 70s.

                              Not, of course, as defined by Microsoft, or Borland, or GNU.

                              Comment

                              Working...