Quote:
Originally Posted by jayasekar
hi friends, im writing a simple socket program and im getting below mentioned warning msg.
what does it mean and what i have to do to avoid this warning ??
/usr/include/sys/socket.h:214: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘int *’
|
I think you don't need to worry about it. It seems to be some slightly sloppy code in libc6, that your (presumably) new version of gcc is seeing. There is probably a gcc flag to turn off this warning... but that would require reading some documentation, and in addition could suppress warnings in your own code that you want to see.
Evo2.