"Melody" <nomail@nomail> wrote:
> "Melody" <nomail@nomail> wrote:
> > libpthreadGC2.a pthreadGC2.dll
> >
> > #include <pthread.h>
> > #include <unistd.h>
>
> C:\mirc614\irc\timer.h|32|warning: control reaches end of non-void function
> [-Wreturn-type]
>
> whats the fix for that warning? for this "non-void function"
> ??? compiler wont allow returning anything ??
>
> void * twait(int secs)
> {
> /// do something here
> }
>
thought I tried it ... Well, *today this works. compiler stopped whining.
void * twait(int secs)
{
/// do something here
return (void *)0;
}
Triangle Inequality Average (TIA)
Mercator and figuring log(polar)(slowly) - examples are invisible and
explanations seemingly by those who can't. While those who can, just do it. pQ -
National Defense secret? Wiki was disappointing on the subject.
Post a reply to this message
|