POV-Ray : Newsgroups : povray.binaries.images : HSL HSV colors.inc fopah : Re: HSL HSV colors.inc fopah Server Time
28 Apr 2024 12:19:14 EDT (-0400)
  Re: HSL HSV colors.inc fopah  
From: Melody
Date: 8 Jan 2020 18:35:01
Message: <web.5e16667cffbdd819da690110@news.povray.org>
"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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.