string comparison compiler warning in main.cc
Issue #120
resolved
/home/danny/programs/code-art/rtgui/main-cli.cc: In function ‘int main(int, char**)’:
/home/danny/programs/code-art/rtgui/main-cli.cc:148:36: warning: comparison with string literal results in unspecified behavior [-Waddress]
} else if (DATA_SEARCH_PATH == ".") {
Comments (2)
-
reporter -
repo owner - changed status to resolved
- Log in to comment
If I change the line (in main.cc and main-cli.cc) to
the warning goes away and the comparison is OK.