lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] [PATCH] Don't compile getopt.cpp twice as part getopt_test


From: Greg Chicares
Subject: Re: [lmi] [PATCH] Don't compile getopt.cpp twice as part getopt_test
Date: Tue, 27 Jan 2015 00:20:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0

On 01/26/2015 01:36 PM, Vadim Zeitlin wrote:
[...]
> getopt.o just appears twice in the list of the dependencies of
> getopt_test.exe, but this doesn't result in it being actually linked twice,
> and has nothing to do with --allow-multiple-definition option which is not
> used when linking this test.

Thanks for the quick update. I doubted whether '--allow-multiple-definition'
was used here, and was about to look into that; now I won't.

> I still think the patch should be applied as there is no need to list this
> file twice.

Agreed. It's a defect that it appears twice (even if it causes no observable
problem at present). Other $(common_test_objects) components do not: for
example, 'fenv_lmi_test$(EXEEXT)' does not list 'fenv_lmi.o' as an explicit
dependency; and 'alert_test$(EXEEXT)' is similar.

Committed 20150127T0019Z, revision 6105.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]