The point here is not old (and obsolete) OS's, but the compliance to ANSI C89 versus ANSI C99.

All of perl requires a ANSI C compliant compiler. Though it is not obvious everywhere, the requirement is a C89 compatible C compiler. That means that there is no guarantee whatsoever that you can build modules written for C99 minimum can be used with any version of perl.

There is a big difference. And I'm not pointing at differences between GNU gcc and expensive ANSI C compilers from the big players, but the simple fact the e.g. c++ style comments // is supported in C99, but is not in C89 is something basic that is VERY EASY to fix and doesn't have to change any other parts of the program.

It's not that the code is wrong. It is more courtesy to all perl users to comply to the minimal requirements of perl itself. I did send a patch to make that source C89 compliant, but it was rejected as "the code is already compliant to the standard" (and then deleted). It is indeed following the ANSI standard. Just a shame it follows the wrong one.


Enjoy, Have FUN! H.Merijn

In reply to Re^4: Shouldn't JSON be faster? by Tux
in thread Shouldn't JSON be faster? by sflitman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.