[cfe-dev] Difference between clang and clang++

Argyrios Kyrtzidis akyrtzi at gmail.com
Mon May 30 09:59:06 PDT 2011


On May 30, 2011, at 5:34 AM, Jonathan Sauer wrote:

>>> If clang is called via the symlink clang++, argv[0] is "clang++" instead of "clang". Look into
>>> driver.cpp, function ParseProgName, where this is checked. There are quite a few supported names
>>> (suffixes, actually).
>> 
>> Fantastic, I was wondering what was argv[0] good for, now I know. Thanks.
> 
> Someone should write a patch for clang so that when it is called as "WOPR", it lets you play a game
> of Global Thermonuclear War.

... and a patch for "tictactoe" to prevent the ensuing nuclear annihilation.

> 
> 
> Jonathan
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list