From owner-cvs-all Sun Apr 28 4:59:34 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 302C637B404; Sun, 28 Apr 2002 04:59:31 -0700 (PDT) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3SBxVt26680; Sun, 28 Apr 2002 04:59:31 -0700 (PDT) (envelope-from iedowse) Message-Id: <200204281159.g3SBxVt26680@freefall.freebsd.org> From: Ian Dowse Date: Sun, 28 Apr 2002 04:59:31 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/moused moused.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2002/04/28 04:59:31 PDT Modified files: usr.sbin/moused moused.c Log: Fix a number of warnings. A gcc preprocessor bug relating to macros with variable numbers of arguments made this slightly harder than it should be. Avoid the bug by not doing string concatenation within the macros, and instead add a new function to syslog or print the error messages. Revision Changes Path 1.55 +56 -41 src/usr.sbin/moused/moused.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message