POV-Ray : Newsgroups : povray.bugreports : Once again, the command line error messages : Re: Once again, the command line error messages Server Time
26 Apr 2024 03:24:46 EDT (-0400)
  Re: Once again, the command line error messages  
From: clipka
Date: 4 Feb 2014 17:59:50
Message: <52f170e6$1@news.povray.org>
Am 04.02.2014 03:00, schrieb Cousin Ricky:
> clipka <ano### [at] anonymousorg> wrote:
>> Am 02.02.2014 20:28, schrieb Le_Forgeron:
>>> [...]
>>> Windows vfe (and mac too), might enjoy such changes too.
>>
>> That last sentence shows that we're doing something fundamentally wrong
>> here: Ideally there should be only one piece of code to fix, for all
>> POV-Ray front-ends.
>
> But as the commentary at FS#42 shows, one piece of code may not be adequate for
> /all/ situations.

Well, the trick there must be to parse the command line in two stages:

(1) One stage to separate the command line into individual parameters 
and "canonicalize" their format; this code must be individual for each 
platform. (For instance, Unix already splits up the command line into 
individual parameters before passing those to the program, while Windows 
passes just one long command line string.)

(2) One stage to scan through the list of individual parameters and 
interpret them; this code should be the same for all platforms.


>> This is probably also the reason for the confusion around FS#42: The
>> command-line error reporting had already been made elaborate enough, but
>> only in the Windows version.
>
> Do you mean FS#41 here?

Yes, sorry.


Post a reply to this message

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