Searched hist:"08 c0d218889dacdac3705605cdb4bb920daed9eb" (Results 1 – 1 of 1) sorted by relevance
| /rkdeveloptool/ |
| H A D | main.cpp | 08c0d218889dacdac3705605cdb4bb920daed9eb Mon Sep 18 19:17:14 UTC 2017 Klaus Goger <klaus.goger@theobroma-systems.com> use strncmp to compare string literal
Fixes build error with Apple LLVM version 8.1.0 (clang-802.0.42)
main.cpp:1160:18: error: result of comparison against a string literal is unspecified (use strncmp instead) [-Werror,-Wstring-compare] if (configPath == (char*)DEF_CONFIG_FILE) { ^~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
|