Re: [OT] C programming problem

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

 



Hello,

> main.c:20:5: warning: incompatible implicit declaration of built-in
> function ‘memset’ [enabled by default]
>     memset( &array, 0, blocks * sizeof(int) );

at least my compiler says something about
> a.c:21:5: note: include ‘<string.h>’ or provide a declaration of ‘memset’

And yes, the first recipe does indeed help :-P

Best regards,
Michael Fritscher
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux