From owner-freebsd-hackers@freebsd.org Thu Jan 16 08:17:38 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D9F7C22DDB2 for ; Thu, 16 Jan 2020 08:17:38 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47yxrd6ClDz4dCD for ; Thu, 16 Jan 2020 08:17:37 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: by mail-il1-x12f.google.com with SMTP id f10so17362396ils.8 for ; Thu, 16 Jan 2020 00:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=J64GFXvhv2CcS8NoflwMO5KQaIV9iTlf5R56V9rjqVM=; b=e7edO0EAHX0k/f5Jg6ae1LxkxxSfM4HfWNTTZXUjfJjPftCeJopwZMTazUHHZWWXo0 D45f2pAJJUc3MXPKdFqLT8UESm3MPZveayr1pMNw6w7GV4CyGZ21XYlabrUouLXpBpwa X/CYrfmcrLyJ0+D+NVQ4EBlG1dLYWAtS7wthcD75u27nNlR9S8g3ilcK5R19WpGIEMkB jo5mH01OOM5/CtdhuR8eIJR4V9FHJz36Upfuj9mUD51/NtdPCXoiSpK8Rc57uCf7a2c8 34m8DxwGsg4T3e6xb3T/WyP7KCrNetBILnJxPTRbmIAO1T7dsU59g5Z9uKn2j3fzNFDh bhvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=J64GFXvhv2CcS8NoflwMO5KQaIV9iTlf5R56V9rjqVM=; b=SycK4rkDf3W+YkB7i8+gLHUJui0Js97Y8FjWCIiJpa5HrVBV3FVIra979zEV8NKKo4 M8dSGq5IsbR422FwIVSJRBqtX77hff9xYNehK0VooZubbEgR/x5TY6FCGEDXnSicP9hh Mcn4DvUBfqHa43pDEnUTrLXZa3Idax2g4Kemmn9k51iXv9ZYUYW/wuwfb2/x1z02pdlk Tq70v5Ks4/QZQPS+Q7vyQIaVkAlM7Q4MzOfA4PHuZyF3txoH6skTpyfJwsVlbS5zoJzK 9RMa7XCRVIhGUAz0MGem+JcHvqu0RjGxJ/uTkLap09y+7UyMtry3MnBZwkLYNXsM+DXo QgFA== X-Gm-Message-State: APjAAAXTj+IpHx16jiXeTUaOwdB0ZGnH/qI9EAONR9u8DQ2bCCWKY1Jv m0Mmkzv8jGQ5YoSj90aSah1o067F3vX80QgpbFQjJEfR X-Google-Smtp-Source: APXvYqz758eSPzX/EXW/x7IVppH6VX8CTYlPGAxqhxiIy+L8954S1ToGcrHnIFd3CFZbBIeDD7XsKoZG1Gd8vUen0C0= X-Received: by 2002:a92:2804:: with SMTP id l4mr2478506ilf.136.1579162656821; Thu, 16 Jan 2020 00:17:36 -0800 (PST) MIME-Version: 1.0 From: Rares Aioanei Date: Thu, 16 Jan 2020 10:17:26 +0200 Message-ID: Subject: Clean up GNU-isms in base? To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47yxrd6ClDz4dCD X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=e7edO0EA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bsdlisten@gmail.com designates 2607:f8b0:4864:20::12f as permitted sender) smtp.mailfrom=bsdlisten@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-9.04), ipnet: 2607:f8b0::/32(-2.09), asn: 15169(-1.83), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jan 2020 08:17:38 -0000 While compiling world with extra warnings I noticed compiler messages about GNU extensions being used in the code, for example the use of typeof() or warnings like this : "/usr/src/lib/libpmc/pmu-events/json.h:22:35: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments]". Question is : is there an interest in doing a "clean-up" of such constructs in the code?