From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: How to cause a compiler warning? Date: Sat, 13 Jan 2024 22:09:05 -0500 Message-ID: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2013"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 14 04:09:41 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rOqsX-0000J1-En for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jan 2024 04:09:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOqs4-000340-Iu; Sat, 13 Jan 2024 22:09:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOqs2-00033A-Vt for emacs-devel@gnu.org; Sat, 13 Jan 2024 22:09:11 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOqs0-00053e-6P for emacs-devel@gnu.org; Sat, 13 Jan 2024 22:09:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:Subject:To:From:mime-version:in-reply-to: references; bh=sEPINTyrpa4wnYnz+lHyLS32cq12lu/n6WJmacw/2J0=; b=r2ZVPOoA/LshiK 8MVkq3fid/EAi5f+isFJfm4y+sahg5rWb5bkpUNWfm4VWyI3uxGFUWsUGnK1EEcXdXsyJapkxg9FF ZTLtDiXLRNC8KQb1ojgje2/wu3Shya5xVA7JwwwAnnt8vb/o/l3uJ8Tzhh1Oa3717EmgKDZ0L7W3W hcfERTGNcwvUHFHeFhxh/Gc44JUbioEOcIvCFiroaVSMvTNlVpbpHEUvIDI57H99poXBwfMPlSJ7g ieLhr8ZsQh1g0zwXLdDiLHr58vnPROR5/tQWrt6YIzDtafbrQ/Q8KRbzR9fE8ZkdAbudJQ4olUi5q zV5v3UOqi4FKgyz7xA7Q==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rOqrx-0008NO-Jy; Sat, 13 Jan 2024 22:09:05 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:314945 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] I would like to make the cond* macro generate warnings in certain cases, when it is being copiled. What is the recommended way to do that? When I implemented constrained variables, nested constrained variables simply worked, with no extra code. But since some people said they were confusing, I am thinking of issuing a warning for those cases. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)