> On Tue, 3 May 2005 [EMAIL PROTECTED] wrote:
> > Actually I was a little premature with my last post. There are a couple 
> > more uses of 
> > Limits<unsigned int> All are to provide constants for manipulation of 
> > unsigned int bit 
> > fields. I have appended a patch file for my current position. I still 
> > haven't changed a 
> 
>       My concern is that there may be (if not today, then tomorrow) systems
>       for which 'unsigned int' is 64bits.
> 
>       The code seems to be going to a great deal of effort to determine ande
>       use the machine's natural (fastest) word/int length and changing that
>       to be 32 might not be optimal (or correct) for some systems.
I can see a number of "sizeof (unsigned int)" which is clearly as you say to 
adapt to 
machine word size, but then the Limits.hh essentially defines a whole list of 
templated 
structures which contain only static member with details about fixed size 
integers. 
"unsigned int" is not included. I have search for Limits<unsigned int> to find 
an instance 
for unsigned int without succes. I presume it must exist if this code is to 
adapt as you 
suggest, or even to allow the code to compile under linux, but I cannot find.
> 
>       For the moment 'uint32_t' will probably work but it sure would be nice
>       to find out why the Cygwin g++ compiler/linker doesn't understand
>       'unsigned int'.
As far as I can see the cygwin compiler baulks at the compound type " unsigned 
int" as 
you will notice the error reported "undefined reference to 
`Limits<unsigned>::Bits"
leaving out the "int".
> 
> > But I now have the whole mjpegplay tree compiling, but have not tested any 
> > funcionality.
> 
>       Oh, so it's unknown if it actually _works_ :-)
I can now confirm that at least mplex works under cygwin compile.
[EMAIL PROTECTED]
Peter King



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to