Re: invalid operands to binary >>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The only people using HTML in email are spammers. You're not a spammer,
so don't use HTML in email (and certainly not to mailing lists).

On Wed, Mar 16, 2005 at 09:44:55PM -0800, Suneel Kandru wrote:
> I'm trying to cmpile the C program which got following statement.
                           ^^^^^^^^^
General C programming questions are off topic on the kernelnewbies
mailing list.

>  ulCRC = (ulCRC >> 8) ^ CRC32_Table[(ulCRC & 0xff) ^ *buffer++]; 
>  
> When I compile following errors.
>  
>  invalid operands to binary >>
>  invalid operands to binary &
>  invalid operands to binary ^
> 
> If I compile on windows platform I'm not getting those erros. 

Compile with -Wall and pay attention to all warning. The real cause of
the error is probably a warning a bit earlier in the code.


Erik

-- 
Erik Mouw
J.A.K.Mouw@xxxxxxxxxxxxxx  mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux