Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 10:06:56 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462216 - head/multimedia/qt4-mobility
Message-ID:  <201802181006.w1IA6ue7054347@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sun Feb 18 10:06:56 2018
New Revision: 462216
URL: https://svnweb.freebsd.org/changeset/ports/462216

Log:
  Fix the build with clang 6.
  
  There's no point in making old, unmaintained code be C++11 compliant, so just
  build with -std=gnu++98.
  
      qvideosurfacegstsink.cpp:345:73: error: constant expression evaluates to 4278190080 which cannot be narrowed to type 'int' [-Wc++11-narrowing]
          { QVideoFrame::Format_RGB32 , 32, 24, 4321, 0x0000FF00, 0x00FF0000, 0xFF000000, 0x00000000 },
                                                                              ^~~~~~~~~~
  (and others)

Modified:
  head/multimedia/qt4-mobility/Makefile

Modified: head/multimedia/qt4-mobility/Makefile
==============================================================================
--- head/multimedia/qt4-mobility/Makefile	Sun Feb 18 09:59:03 2018	(r462215)
+++ head/multimedia/qt4-mobility/Makefile	Sun Feb 18 10:06:56 2018	(r462216)
@@ -29,6 +29,8 @@ OPTIONS_DEFINE=	BEARER CONNECTIVITY CONTACTS FEEDBACK 
 		SERVICEFRAMEWORK SYSTEMINFO VERSIT
 OPTIONS_SUB=	yes
 
+USE_CXXSTD=	gnu++98
+
 BEARER_DESC=		Bearer module
 CONNECTIVITY_DESC=	Connectivity module
 CONNECTIVITY_USE=	qt4=rcc_build



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