Undefined reference to 'select()'
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Sat Jun 17 08:10:00 PDT 2006
On 17.06.2006, at 09:25, walt wrote:
Here is the actual code from fam, and there is no extern "C"
appearing anywhere in the file:
yes, it should be around the declaration
int status = ::select(nfds, &readfds, &writefds, 0, timeout);
Could you explain briefly the meaning of the :: for me? I've been
reading a c++ tutorial but I haven't come to that lesson yet :o)
:: accesses the top level, in comparison to the class function.
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low â¬â¬â¬ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
More information about the Bugs