POV-Ray : Newsgroups : povray.off-topic : Breaking C++ compilers Server Time
30 Jul 2024 00:26:58 EDT (-0400)
  Breaking C++ compilers (Message 1 to 3 of 3)  
From: Darren New
Subject: Breaking C++ compilers
Date: 1 Apr 2011 12:42:26
Message: <4d960072@news.povray.org>
Apparently all three major C++ compilers break on this simple program:

<http://stackoverflow.com/questions/5508110/why-is-this-program-erroneously-rejected-by-three-c-compilers>

The first answer is really the best, tho.
-- 
Darren New, San Diego CA, USA (PST)
   "Coding without comments is like
    driving without turn signals."


Post a reply to this message

From: Alain
Subject: Re: Breaking C++ compilers
Date: 1 Apr 2011 16:24:20
Message: <4d963474@news.povray.org>
Le 2011/04/01 12:42, Darren New a écrit :
> Apparently all three major C++ compilers break on this simple program:
>
>
<http://stackoverflow.com/questions/5508110/why-is-this-program-erroneously-rejected-by-three-c-compilers>
>
>
> The first answer is really the best, tho.

Yeah! What can you expect when you try to compile a PICTURE of your code 
instead of the text of that code?


Post a reply to this message

From: Warp
Subject: Re: Breaking C++ compilers
Date: 2 Apr 2011 03:28:24
Message: <4d96d018@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Apparently all three major C++ compilers break on this simple program:

>
<http://stackoverflow.com/questions/5508110/why-is-this-program-erroneously-rejected-by-three-c-compilers>

  Obviously the problem is that the very first character in the program
looks like an H and not like a #, which confuses the compiler. The lowercase
l's are also ambiguously written.

-- 
                                                          - Warp


Post a reply to this message

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