in reply to Re^2: Does XCode 4 break Perl?
in thread Does XCode 4 break Perl?

The error I'm seeing looks like an ordinary syntax error, that's what's so baffling

Please copy/paste the error message

Replies are listed 'Best First'.
Re^4: Does XCode 4 break Perl?
by Anonymous Monk on Apr 01, 2011 at 09:12 UTC
    It's in my original message.
      Doh

      O_RDONLY is supposed to come from Fcntl

      $ perl -MFcntl=O_RDONLY -le " print +O_RDONLY " 0
      If you don't use Fcntl, there is no O_RDONLY constant
        Yes, I'm aware of that. The point of this thread is that IO::AIO had no problems before the upgrade to XCode 4. At first glance it appears IO::AIO is sloppy in that it uses symbols without exporting them from Fcntl and POSIX, but I think it was working before because the XS code magically exported the symbols so they were available on the Perl side. After the upgrade, the mechanism that exported those symbols from XS to Perl appears to not work.