svn commit: r348498 - head/lib/atf/libatf-c/tests

Ed Maste emaste at FreeBSD.org
Sat Jun 1 18:26:08 UTC 2019


Author: emaste
Date: Sat Jun  1 18:26:07 2019
New Revision: 348498
URL: https://svnweb.freebsd.org/changeset/base/348498

Log:
  libatf: remove workaround not required after atf >= 0.18 update
  
  lib/atf/libatf-c/tests/Makefile added the -Wno-duplicate-decl-specifier
  due to an issue with an old version of ATF.  ATF has long since been
  updated to a version with the fix so the workaround is no longer
  necessary.
  
  Found during review for PR 236889.
  
  PR:		236889
  MFC after:	2 weeks
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/lib/atf/libatf-c/tests/Makefile

Modified: head/lib/atf/libatf-c/tests/Makefile
==============================================================================
--- head/lib/atf/libatf-c/tests/Makefile	Sat Jun  1 18:19:16 2019	(r348497)
+++ head/lib/atf/libatf-c/tests/Makefile	Sat Jun  1 18:26:07 2019	(r348498)
@@ -13,11 +13,6 @@ ATF=		${SRCTOP}/contrib/atf
 CFLAGS+=	-DATF_INCLUDEDIR='"${INCLUDEDIR}"'
 CFLAGS+=	-I${ATF}
 
-# macros_test.c contains a double 'const const' which will be gone with
-# the import of atf-0.18.
-# TODO(jmmv): Remove this workaround once we do that update.
-CFLAGS.clang+=	-Wno-duplicate-decl-specifier
-
 ${PACKAGE}FILES+=	macros_h_test.c
 ${PACKAGE}FILES+=	unused_test.c
 


More information about the svn-src-all mailing list