You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from kenwood.c:32:
kenwood.c: In function ‘kenwood_transaction’:
kenwood.c:273:19: warning: ‘%s’ directive output may be truncated writing between 2 and 2147483645 bytes into a region of size 23969 [-Wformat-truncation=]
273 | "%s called cmd=%s datasize=%d, datasize < cmd length?\n", __func__,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/hamlib/rig.h:3726:90: note: in definition of macro ‘rig_debug’
3726 | ,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~
kenwood.c:273:34: note: format string is defined here
273 | "%s called cmd=%s datasize=%d, datasize < cmd length?\n", __func__,
| ^~
In file included from kenwood.c:32:
kenwood.c:273:19: note: directive argument in the range [1, 2147483644]
273 | "%s called cmd=%s datasize=%d, datasize < cmd length?\n", __func__,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/hamlib/rig.h:3726:90: note: in definition of macro ‘rig_debug’
3726 | ,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~
../../include/hamlib/rig.h:3726:45: note: ‘snprintf’ output between 70 and 2147483722 bytes into a destination of size 24000
3726 | #define rig_debug(debug_level,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kenwood.c:272:9: note: in expansion of macro ‘rig_debug’
272 | rig_debug(RIG_DEBUG_WARN,
| ^~~~~~~~~
In file included from ../../src/serial.h:25,
from elecraft.c:29:
elecraft.c: In function ‘verify_kenwood_id’:
elecraft.c:465:38: warning: ‘%s’ directive output may be truncated writing between 5 and 2147483645 bytes into a region of size 23971 [-Wformat-truncation=]
465 | rig_debug(RIG_DEBUG_VERBOSE, "%s: Rig ID is %s\n", __func__, id);
| ^~~~~~~~~~~~~~~~~~~~
../../include/hamlib/rig.h:3726:90: note: in definition of macro ‘rig_debug’
3726 | ,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~
elecraft.c:465:53: note: format string is defined here
465 | rig_debug(RIG_DEBUG_VERBOSE, "%s: Rig ID is %s\n", __func__, id);
| ^~
In file included from ../../src/serial.h:25,
from elecraft.c:29:
../../include/hamlib/rig.h:3726:45: note: ‘snprintf’ output between 36 and 2147483676 bytes into a destination of size 24000
3726 | #define rig_debug(debug_level,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elecraft.c:465:9: note: in expansion of macro ‘rig_debug’
465 | rig_debug(RIG_DEBUG_VERBOSE, "%s: Rig ID is %s\n", __func__, id);
| ^~~~~~~~~
elecraft.c:460:38: warning: ‘%s’ directive output may be truncated writing between 5 and 2147483645 bytes into a region of size 23976 [-Wformat-truncation=]
460 | rig_debug(RIG_DEBUG_VERBOSE, "%s: Rig (%s) is not a K2 or K3\n", __func__, id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/hamlib/rig.h:3726:90: note: in definition of macro ‘rig_debug’
3726 | ,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~
elecraft.c:460:48: note: format string is defined here
460 | rig_debug(RIG_DEBUG_VERBOSE, "%s: Rig (%s) is not a K2 or K3\n", __func__, id);
| ^~
In file included from ../../src/serial.h:25,
from elecraft.c:29:
../../include/hamlib/rig.h:3726:45: note: ‘snprintf’ output between 50 and 2147483690 bytes into a destination of size 24000
3726 | #define rig_debug(debug_level,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
elecraft.c:460:9: note: in expansion of macro ‘rig_debug’
460 | rig_debug(RIG_DEBUG_VERBOSE, "%s: Rig (%s) is not a K2 or K3\n", __func__, id);
| ^~~~~~~~~
In file included from g313-posix.c:34:
g313-posix.c: In function ‘g313_set_conf’:
g313-posix.c:569:39: warning: ‘%s’ directive output may be truncated writing between 64 and 2147483645 bytes into a region of size 23973 [-Wformat-truncation=]
569 | rig_debug(RIG_DEBUG_WARN, "%s: set if_path %s is too long\n", __func__, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/hamlib/rig.h:3726:90: note: in definition of macro ‘rig_debug’
3726 | ,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~
g313-posix.c:569:56: note: format string is defined here
569 | rig_debug(RIG_DEBUG_WARN, "%s: set if_path %s is too long\n", __func__, val);
| ^~
In file included from g313-posix.c:34:
../../include/hamlib/rig.h:3726:45: note: ‘snprintf’ output between 105 and 2147483686 bytes into a destination of size 24000
3726 | #define rig_debug(debug_level,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g313-posix.c:569:13: note: in expansion of macro ‘rig_debug’
569 | rig_debug(RIG_DEBUG_WARN, "%s: set if_path %s is too long\n", __func__, val);
| ^~~~~~~~~
g313-posix.c:582:39: warning: ‘%s’ directive output may be truncated writing between 64 and 2147483645 bytes into a region of size 23967 [-Wformat-truncation=]
582 | rig_debug(RIG_DEBUG_WARN, "%s: set spectrum_path %s is too long\n", __func__,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/hamlib/rig.h:3726:90: note: in definition of macro ‘rig_debug’
3726 | ,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~
g313-posix.c:582:62: note: format string is defined here
582 | rig_debug(RIG_DEBUG_WARN, "%s: set spectrum_path %s is too long\n", __func__,
| ^~
In file included from g313-posix.c:34:
../../include/hamlib/rig.h:3726:45: note: ‘snprintf’ output between 111 and 2147483692 bytes into a destination of size 24000
3726 | #define rig_debug(debug_level,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g313-posix.c:582:13: note: in expansion of macro ‘rig_debug’
582 | rig_debug(RIG_DEBUG_WARN, "%s: set spectrum_path %s is too long\n", __func__,
| ^~~~~~~~~
g313-posix.c:556:39: warning: ‘%s’ directive output may be truncated writing between 64 and 2147483645 bytes into a region of size 23970 [-Wformat-truncation=]
556 | rig_debug(RIG_DEBUG_WARN, "%s: set audio_path %s is too long\n", __func__, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../include/hamlib/rig.h:3726:90: note: in definition of macro ‘rig_debug’
3726 | ,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~
g313-posix.c:556:59: note: format string is defined here
556 | rig_debug(RIG_DEBUG_WARN, "%s: set audio_path %s is too long\n", __func__, val);
| ^~
In file included from g313-posix.c:34:
../../include/hamlib/rig.h:3726:45: note: ‘snprintf’ output between 108 and 2147483689 bytes into a destination of size 24000
3726 | #define rig_debug(debug_level,fmt,...) do { snprintf(debugmsgsave2,sizeof(debugmsgsave2),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); add2debugmsgsave(debugmsgsave2); } while(0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g313-posix.c:556:13: note: in expansion of macro ‘rig_debug’
556 | rig_debug(RIG_DEBUG_WARN, "%s: set audio_path %s is too long\n", __func__, val);
| ^~~~~~~~~
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: