RE: invalid operands to binary >>

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

 



> 
> >  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. 

Make sure ulCRC is of integer/char type only. (Not pointer/float)

-
Sekhar Nori.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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