Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2018 09:19:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228063] database/mysql55-client: compile error with clang6
Message-ID:  <bug-228063-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228063

            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@FreeBSD.org
          Reporter: lampa@fit.vutbr.cz

Created attachment 193177
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193177&action=
=3Dedit
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]=3D '\0';
                                    ^~~~
Probable coding error, perhaps this should be:

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228063-7788>