Hi,

Patch 7.4.048 (0c6ccfdb62) had once suppressed the compiler warning:

    clang: warning: optimization flag '-fno-strength-reduce' is not
supported

Today, when I built MacVim, I found that the warning came back to life (or
still survived there?  I'm not sure exactly why...)

The attached patch is for fixing that.

To write the patch, I revised the regular expression for capturing the
version, because that was the cause of the failure.

I changed the options passed to sed for editing $CFLAGS since, when $CFLAGS
did not contain "-fno-strength-reduce", it was reduced to an empty string.

Also, a message for clarifying the purpose of the version check was added
("checking if clang supports..."), and the existing messages were modified
so that they would make more sense ("recent" --> "", and "no" --> "N/A").

Best regards,
Kazunobu Kuriyama

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: fix-clang-version-check.patch
Description: Binary data

Raspunde prin e-mail lui