[Bug 228063] database/mysql55-client: compile error with clang6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 8 09:19:27 UTC 2018


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

            Bug ID: 228063
           Summary: database/mysql55-client: compile error with clang6
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: lampa at fit.vutbr.cz

Created attachment 193177
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193177&action=edit
patchfile

Compile error in STABLE-11 with clang6:

--- client/CMakeFiles/mysql.dir/mysql.cc.o ---
/usr/ports/databases/mysql55-client/work/mysql-5.5.60/client/mysql.cc:2674:37:
error: assigning to 'char *' from incompatible type 'char'
      field_names[i][num_fields*2]= '\0';
                                    ^~~~
Probable coding error, perhaps this should be:

     *(field_names[i][num_fields*2]) = '\0';

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


More information about the freebsd-ports-bugs mailing list