Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2019 09:28:48 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r349052 - stable/12/lib/atf/libatf-c/tests
Message-ID:  <201906150928.x5F9SmUs088246@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Sat Jun 15 09:28:48 2019
New Revision: 349052
URL: https://svnweb.freebsd.org/changeset/base/349052

Log:
  MFC r348498: 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

Modified:
  stable/12/lib/atf/libatf-c/tests/Makefile
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/lib/atf/libatf-c/tests/Makefile
==============================================================================
--- stable/12/lib/atf/libatf-c/tests/Makefile	Sat Jun 15 09:26:48 2019	(r349051)
+++ stable/12/lib/atf/libatf-c/tests/Makefile	Sat Jun 15 09:28:48 2019	(r349052)
@@ -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
 



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