Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Unfortunately, at least the Apple Clang doesn't generate any
compilation error or *proper* warning for command-line options it
doesn't understand, like -fno-enforce-eh-specs.

It just prints out clang: warning: argument unused during compilation:
'-fno-enforce-eh-specs' to stderr... Even with -Werror, this is just
printed, it doesn't cause the compilation to exit with failure.

So probably configure should check if this warning is printed to
stderr when checking what command-line options are supported?

One can get rid of the warning with the option -Qunused-arguments, but
I think that would be counter-productive. After all, if configure
thinks that the compiler supports something, even if it doesn't, that
misleading knowledge might be used to compile the code in a wrong
fashion. So it is useful to see what options are used even if they
don't have any effect.

--tml

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.