Added detection for clang compiler and fixed various warnings triggered by it (bug 4878, r=dvander).

This commit is contained in:
Scott Ehlert
2011-04-23 21:53:53 -05:00
parent 0b06d3412e
commit 939bc00b2b
14 changed files with 26 additions and 22 deletions
+1 -1
View File
@@ -579,7 +579,7 @@ static void inst_binary_name(char *binfname)
binptr = NULL;
len = strlen(binfname);
for (i = len - 1; i >= 0 && i < len; i--)
for (i = len - 1; i < len; i--)
{
if (binfname[i] == '/'
#if defined WIN32 || defined _WIN32