Hi!

You have the point, note is confusing on XP. Changed it to "…on Windows Vista 
or later".

Non-fatal note message is intended to have one config file on various platforms 
without any modifications. On the other hand, you probably would still use
ignore-unknown-option to comply with outdated versions. As my own preference, 
I'd like to keep it non-fatal, but if you think this is inappropriate behaviour,
I'll change that.


On 26.11.2015 20:20, Selva Nair wrote:
> Hi,
>
> I did some tests on the patch for 2.3 [*]. Build for vista+ needed some 
> hacking of configure.ac <http://configure.ac> (but that's not relevant for 
> this patch).
>
> For XP+, it builds out of the box. When the resulting exe is run on windows 7 
> with --block-outside-dns, it prints the following warning
>
> "NOTE: block-outside-dns option works only on Windows"
>
> Apart from the confusing warning, I had expected the process to exit with 
> unknown option error.
>
>  
> This has to be something like  "... not supported in this version or build" 
> or some such..
>
> In fact, that #else clause short-circuits the default error handling of 
> unknown/unsupported options. It may be best to omit it altogether and let the 
> final
> if-block handle the unknown option. Or at least use msglevel_fc in place of 
> M_WARN so that it will exit if appropriate to do so.
>
>
> Selva
>
> [*] v5 2.3 patch with the missing include <initguid.h> manually added.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to