Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • How do other people ensure interoperability for various OSs? Do they have accounts for different machines or is it programmer's experience that makes the thing work on most platforms?

    A bit of both. There's no substitute for testing on different machines (and with different compilers), but you'll have a lot less problems if the first place once you become experienced in what is and isn't portable

    Part of the problem with portability is that the most common platform (x86) is one of the most forgiving (littl

  • What options would you recommend to gcc to improve its B&D on the code?
    --
      ---ict / Spoon
  • For example, your module is also failing its tests on PPC linux, so I'd suspect that it's an endian-ness bug somewhere (your code, or the included library), as both sparc and PPC are big endian.

    Seems more and more reasonable to me to suspect byte order. Just browsed through mplib and did in fact find a lot of bitshift operations in mp_get_id3v2_tag (the id3v2-reading was the stuff that failed in the tests) but not in the corresponding mp_get_id3v1_tag.

    If these are in fact the offending parts, a few prepr
  • This is use.perl, so -Wall, obviously :-)

    parrot is compiled with -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Winline -W -Wno-unused -Wsign-compare -Wformat-nonliteral -Wformat-security -Wpacked -Wpadded -Wdisabled-optimization on gcc 3.2. Some of those are specific to various recent versions of gcc - take a look at parrot's config/auto/gcc.pl for how it chooses its bondage preferences based on gcc version. How