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.
  • On Strawberry Perl, make fails with the above error from rinjdael.h (line 34). Conflicts with MINGW basetsd.h (line 56).
    • I found the libjpeg and X86Free had similar woes because someone else was defining these types globally. I think MinGW does this in basetsd.h, but in the CVS repository it's in the Attic, so I'm not sure what's going on there. CVS comments are to explain why you did something, people!

      I've uploaded 0.06_03, which first checks for previous definitions before trying to do the typedef. I have to assume, however, that the previous definitions are right unless I want to undef them. For the moment, I'll trust the
      • 0.06_03 still wouldn't build for me. I did some quick hacking to rijndael.h to work around the definitions in a different way and got it to build:

        /* If sys/types doesn't work, *and* something else hasn't defined these,
        * lets do it ourselves.
        *
        * MinGW defines these in win32api/include/basetsd.h, so avoid a conflict
        */

        #ifdef __MINGW_H
        typedef unsigned int UINT32;
        #else
        typedef unsigned long UINT32;
        #endif

        typedef unsigned char UINT8;

        I have no idea if this works elsewhere or screws anything else up, but "w