[cfe-dev] *** GMX Spamverdacht *** Re: Recognize CC and clang-CC?
Dimitry Andric
dimitry at andric.com
Thu Nov 21 13:22:53 PST 2013
On 10 Nov 2013, at 11:27, Sebastian Redl <sebastian.redl at getdesigned.at> wrote:
>
> On Nov 9, 2013, at 16:17, Hal Finkel wrote:
...
>> Does anyone see any harm in adding 'CC' to the list of C++ aliases?
>
> What about a Windows user who names it CC.EXE? The case insensitivity means that there's no difference between that and cc.exe.
>
> (I don't think doing that is sensible. I'm just curious what would happen.)
Well, it would probably identify itself as a C++ compiler then. :-) On Windows, I don't think there is any reason to rename it to uppercase. In the worst case, you could just put #ifdef WINDOWS guards around it, which is rather ugly, but does the job.
If that is added, would it be OK to commit the original patch by Zhihao Yuan [1]?
-Dimitry
[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=182442&getpatch=1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131121/bb914628/attachment.sig>
More information about the cfe-dev
mailing list