Added detection for clang compiler and fixed various warnings triggered by it (bug 4878, r=dvander).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user