From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-bw0-f49.google.com (mail-bw0-f49.google.com [209.85.214.49]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o76L5lST013690 for ; Fri, 6 Aug 2010 17:05:48 -0400 (EDT) Received: by bwz19 with SMTP id 19so298792bwz.36 for ; Fri, 06 Aug 2010 14:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:mime-version:content-type:content-disposition; bh=ImVOJT6Fi91+8eu1lMX1ddiKldXPLnioyelL9P1gPlU=; b=FuqkKi1dSwesZ402GS+83V5CNXrpxUfOpOdcYaI+eORRu0EJ/fx1LS/4PDF+Y5/HCJ rQ8hCq+eG3hZaZVMzey6f6nav0FliScIpelltBCw7774tuysO6GXsZxrK80Di0V/uIbb 8MjROITPHzt/8O/9eG7PhHEBTt6GU3JJvk/yE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition; b=Wp9Iam1R45xpFG1vWafsIovHWC7mKpX/wFa5uGFreQbpRSFcJz9YS61aB4wRawRtRq cxSEUmKsw+NIXA33cGBMyBwiwv1NsP57lYOSeRwpHdfGnzKXCR8yIvWVzjJbd2qOVT16 Qf2y5oVqBHBChdw+3GKDdjQDmhmkq7mnUgQqg= Received: by 10.204.10.140 with SMTP id p12mr460844bkp.58.1281128746407; Fri, 06 Aug 2010 14:05:46 -0700 (PDT) Received: from ravenloft.kiev.ua (ravenloft.kiev.ua [94.244.131.95]) by mx.google.com with ESMTPS id s17sm915709bkx.6.2010.08.06.14.05.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Aug 2010 14:05:45 -0700 (PDT) Sender: Alex Kozlov Date: Sat, 7 Aug 2010 00:05:11 +0300 From: Alex Kozlov To: discuss@mdocml.bsd.lv Subject: Re: mdocml, ERROR: argument count wrong: multi-line arguments > 0 (have 0) Message-ID: <20100806210511.GA44147@ravenloft.kiev.ua> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Aug 06, 2010 at 07:43:26PM +0200, Kristaps Dzonsons wrote: > >> Hi > >> > >> I think that Qq, Dq, Sq, Aq, Bq can have 0 arguments: > >> > >> Error log: > >> man/man1/c99.1: > >> :99:5: ERROR: argument count wrong: multi-line arguments > 0 (have 0) > >> :108:5: ERROR: argument count wrong: multi-line arguments > 0 (have 0) > >> Man source: > >> man/man1/c99.1: > >> (http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/c99/c99.1) > >> 99:5:.Pq Qq > >> 108:5:.Pq Aq , > >> Man: > >> headers whose names are enclosed in double-quotes ("") will be > >> brackets (<>), the header will be searched for only in > >> > >> Error log: > >> man/man1/bsdtar.1: > >> :357:2: ERROR: argument count wrong: multi-line arguments > 0 (have 0) > >> :359:2: ERROR: argument count wrong: multi-line arguments > 0 (have 0) > >> Man source: > >> man/man1/bsdtar.1: > >> (http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/tar/bsdtar.1) > >> 357:2:.Qq > >> 359:2:.Qq . > >> Man: > >> This is equivalent to --uname "" --gname "". On extract, it > >> > >> Error log: > >> /tmp/man.yg1LX62VGM/usr/share/man/man3/getloadavg.3: > >> :51:16: ERROR: argument count wrong: multi-line arguments > 0 (have 0) > >> Man source: > >> man/man3/getloadavg.3: > >> (http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/getloadavg.3) > >> 51:16:.Fa loadavg Ns Bq . > >> Man: > >> retrieved and assigned to successive elements of loadavg[]. The system > > > > These were fixed in FreeBSD -HEAD a couple of days ago, the cgi web > > stuff is usually from some older -RELEASE however. > > > > Not sure this helps in any way ... These errors should not have been corrected, because they are not errors at all. Can You please revert this? > You're correct in that these macros should have the lowest warning > category. The ERROR class is used, by convention, only when input might > screw formatting but can be processed anyway. These are more or less > harmless. Yes, this is a rare but legal situation, warning will be the best solution. -- Adios -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv