[llvmlinux] Clang know handle unknown options as errors

Tinti viniciustinti at gmail.com
Fri Oct 4 00:36:35 UTC 2013


By reverting these patches it work.

commit f78c6280e68bdba05be9716dd9b324d089ba5df9
Author: Vinicius Tinti <viniciustinti at gmail.com>
Date:   Thu Oct 3 20:58:41 2013 -0300

    Revert "Produce an error for unknown -m options."

    This reverts commit ed919388e498379c7f8a32b73341bbd491fa29fa.

commit d620f19d0beb086b4b34d2f93f29055b58515ebd
Author: Vinicius Tinti <viniciustinti at gmail.com>
Date:   Thu Oct 3 20:58:16 2013 -0300

    Revert "Produce an error if a -cc1 only option is passed to the driver."

    This reverts commit 4ab39dec0864706d1e69840b5d4c028f02f0b38f.

commit 4e7a8e6df84ae596aae1f0017d724541c3ab781c
Author: Vinicius Tinti <viniciustinti at gmail.com>
Date:   Thu Oct 3 20:57:59 2013 -0300

    Revert "Produce an error for unknown -f options."

    This reverts commit 49b3533e1ac091894537d1a7be4bc51fef1ae1e5.



On Thu, Oct 3, 2013 at 8:41 PM, Tinti <viniciustinti at gmail.com> wrote:

> Hi,
>
> Rudkx has just pointed out that clang will now handle unknown options as
> errors:
> http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130923/089470.html
>
> The patch is:
>
> commit 49b3533e1ac091894537d1a7be4bc51fef1ae1e5
> Author: Rafael Espindola <rafael.espindola at gmail.com>
> Date:   Wed Sep 25 19:07:08 2013 +0000
>
>     Produce an error for unknown -f options.
>
>     git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@19139491177308-0d34-0410-b5e6-96231b3b80d8
>
> --
> Simplicity is the ultimate sophistication
>



-- 
Simplicity is the ultimate sophistication
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20131003/29992a11/attachment.html>


More information about the LLVMLinux mailing list