[Bug 214639] devel/kore: fails to build with clang 3.9

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 20 20:59:01 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214639

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Sun Nov 20 20:58:38 UTC 2016
New revision: 426630
URL: https://svnweb.freebsd.org/changeset/ports/426630

Log:
  devel/kore: unbreak build with clang 3.9

  src/pgsql.c:222:17: error: passing an object that undergoes default argument
promotion to 'va_start'
        has undefined behavior [-Werror,-Wvarargs]
          va_start(args, count);
                         ^
  src/pgsql.c:217:45: note: parameter of type 'u_int8_t' (aka 'unsigned char')
is declared here
      const char *query, int result, u_int8_t count, ...)
                                              ^

  PR:           214639
  Reported by:  antoine (via exp-run)
  Submitted by: Tobias Kortkamp <t at tobik.me> (maintainer)
  Obtained from:        upstream

Changes:
  head/devel/kore/Makefile
  head/devel/kore/files/patch-includes_pgsql.h
  head/devel/kore/files/patch-src_pgsql.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list