Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10768

Warnings when compiling agent on FreeBSD

XMLWordPrintable

      misc.c:430:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
              setproctitle(title);
                           ^~~~~
      1 warning generated.
      str.c:2702:35: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
              while ((size_t)(-1) == iconv(cd, &in, &in_size_left, &p, &out_size_left))
                                               ^~~
      /usr/include/iconv.h:56:47: note: passing argument to parameter here
      size_t  iconv(iconv_t, const char ** __restrict,
                                                     ^
      1 warning generated.
      

            Unassigned Unassigned
            glebs.ivanovskis Glebs Ivanovskis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: