[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Discuss-gnuradio] Error in OSX compile
From: |
Tom Rondeau |
Subject: |
RE: [Discuss-gnuradio] Error in OSX compile |
Date: |
Fri, 16 Feb 2007 09:10:57 -0500 |
> -----Original Message-----
> From: Michael Dickens [mailto:address@hidden
> Sent: Thursday, February 15, 2007 9:41 PM
> To: Tom Rondeau
> Cc: gnuradio mailing list
> Subject: Re: [Discuss-gnuradio] Error in OSX compile
>
> Tom - Yes, that will work just fine. That's the initial fix I did
> yesterday. Since it sounds like defining "ssize_t d_payload_size"
> isn't OK, then I'll just delete my branch. Those were easy changes
> anyway. Thanks for getting it fixed quickly; everyone with 64-bit
> processor/OS/compiler will breathe easier ;) - MLD
Good. I'll try to keep an eye out for things of this nature in the future
(although, to actually get to the root of the typedef of ssize_t is a bit
obscured). I wish I had a 64-bit machine of my own to compile on and test
before checkins to avoid these problems in the trunk. Maybe I'll just bug
you or Eric to do a test compile sometimes :)
Tom
> > Sorry about this one, but try it now. I just did a check in to the
> > trunk since it was so simple. Although I might have been better to
> > redefine d_payload_size to a ssize_t, there are issues with that
> > data type and SWIG; it didn't like me using ssize_t in the
> > constructor argument. Instead, it's now being cast to a (ssize_t)
> > in the std::min function. That should be generic on any system.
> >
> > Let me know if this works or not.