Silence gcc-4.0.0 warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos 2005-04-22 17:56:01 +00:00
parent 7847fcac17
commit 38da41cc44

View File

@ -93,10 +93,10 @@ void PrintStackTrace() {
// Try to run c++filt or gc++filt. If neither is found, call back on 'cat'
// to print the mangled stack trace. If we can't find cat, just exit.
execlp("c++filt", "c++filt", 0);
execlp("gc++filt", "gc++filt", 0);
execlp("cat", "cat", 0);
execlp("/bin/cat", "cat", 0);
execlp("c++filt", "c++filt", (char*)NULL);
execlp("gc++filt", "gc++filt", (char*)NULL);
execlp("cat", "cat", (char*)NULL);
execlp("/bin/cat", "cat", (char*)NULL);
exit(0);
}
#endif