POV-Ray : Newsgroups : povray.unofficial.patches : Major bug in MegaPOV Plus? : Re: Major bug in MegaPOV Plus? Server Time
2 Sep 2024 06:20:17 EDT (-0400)
  Re: Major bug in MegaPOV Plus?  
From: Thorsten Froehlich
Date: 11 Sep 2000 10:49:42
Message: <39bcf106$1@news.povray.org>
In article <39bcdb54$1@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>   This code causes it. Can you see what is the mistake?
>
> #include <string>
> using namespace std;
>
> int main()
> {
>     string x();
>     x.clear();
> }

Oh yes, that is one of the classics that don't give any useful compiler
error message.  At least now I know what it looks like in gcc, neither
Visual C++ nor CodeWarrior give a better error message  <sigh>


     Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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