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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 18 20:29:53 UTC 2016


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

            Bug ID: 214639
           Summary: devel/kore: fails to build with clang 3.9
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: t at tobik.me
            Blocks: 212343
             Flags: maintainer-feedback?(t at tobik.me)
                CC: t at tobik.me

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, ...)
                                            ^

http://package18.nyi.freebsd.org/data/headi386PR212343-default/2016-09-11_07h04m19s/logs/errors/kore-2.0.0.log

To reproduce without upgrading to /projects/clang390-import try

  $ pkg install -y llvm39
  $ CC=clang39 CXX=clang++39 CPP=clang-cpp39 make clean all


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212343
[Bug 212343] [exp-run] Update llvm/clang/lldb/libc++ in base to 3.9.0
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list