1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

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)
This commit is contained in:
Mark Linimon 2019-02-21 04:14:14 +00:00
parent a2ca122de0
commit 43626ec1c3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493485

View File

@ -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}