It might very well be a bug in your preprocessor or compiler:

$ oslevel 5.2.0.0 $ oslevel -r 5200-04 $ lslpp -l xlC.rte Fileset Level State Description -------------------------------------------------------------------- +-------- Path: /usr/lib/objrepos xlC.rte 9.0.0.9 COMMITTED XL C/C++ Runtime $

From the file README.aix (perldoc paerlaix), it says:

At the moment of writing, AIX supports two different native C compiler +s, for which you have to pay: B<xlC> and B<vac>. If you decide to use eit +her of these two (which is quite a lot easier than using gcc), be sure to upgrade to the latest available patch level. Currently: xlC.C 3.1.4.10 or 3.6.6.0 or 4.0.2.2 or 5.0.2.9 or 6.0.0.3 vac.C 4.4.0.3 or 5.0.2.6 or 6.0.0.1

Which is already rather outdated now, but most likely 6.0.0.0 is insufficient and you should up to at least 6.0.0.3.


Enjoy, Have FUN! H.Merijn

In reply to Re^3: Regex problem building perl on IBM AIX by Tux
in thread Regex problem building perl on IBM AIX by Anonymous Monk

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.