Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2019 04:14:15 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493485 - head/sysutils/powerdxx
Message-ID:  <201902210414.x1L4EF5t034287@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Thu Feb 21 04:14:14 2019
New Revision: 493485
URL: https://svnweb.freebsd.org/changeset/ports/493485

Log:
  Add -Wno-error=sign-compare to CXXFLAGS to ignore the following error
  when compiling with GCC:
  
    /wrkdirs/usr/ports/sysutils/powerdxx/work/powerdxx-0.4.0/src/loadrec.cpp: In lambda function:
    /wrkdirs/usr/ports/sysutils/powerdxx/work/powerdxx-0.4.0/src/loadrec.cpp:294:21: error: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Werror=sign-compare]
  
  PR:		235689
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/sysutils/powerdxx/Makefile

Modified: head/sysutils/powerdxx/Makefile
==============================================================================
--- head/sysutils/powerdxx/Makefile	Thu Feb 21 00:36:50 2019	(r493484)
+++ head/sysutils/powerdxx/Makefile	Thu Feb 21 04:14:14 2019	(r493485)
@@ -19,6 +19,8 @@ MAKE_ARGS=	DOCSDIR="${DOCSDIR}"
 
 OPTIONS_DEFINE=	DOCS
 
+CXXFLAGS+=	-Wno-error=sign-compare
+
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_MAN} ${WRKSRC}/gh-pages/refman.pdf ${STAGEDIR}${DOCSDIR}



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