[Bug 224945] Ports maintained by kde@ broken by Clang 6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 7 21:54:15 UTC 2018


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

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

Author: rakuco
Date: Sun Jan  7 21:53:15 UTC 2018
New revision: 458386
URL: https://svnweb.freebsd.org/changeset/ports/458386

Log:
  Fix the build on i386 with clang 6.0.

  kernel/qx11embed_x11.cpp:486:20: error: non-constant-expression cannot be
narrowed from type 'unsigned int' to 'long' in initializer list
[-Wc++11-narrowing]
      long data[] = {XEMBED_VERSION, XEMBED_MAPPED};
                     ^~~~~~~~~~~~~~
  kernel/qx11embed_x11.cpp:486:20: note: insert an explicit cast to silence
this issue
      long data[] = {XEMBED_VERSION, XEMBED_MAPPED};
                     ^~~~~~~~~~~~~~
                     static_cast<long>( )

  PR:           224945

Changes:
  head/x11-toolkits/qt4-gui/files/
  head/x11-toolkits/qt4-gui/files/patch-src_gui_kernel_qx11embed__x11.cpp

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


More information about the kde-freebsd mailing list