Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 1997 21:13:38 -0800 (PST)
From:      Simon Shapiro <shimon@simon-shapiro.org>
To:        freebsd-current@freebsd.org
Subject:   Make world fails on printf.c
Message-ID:  <XFMail.971124211338.shimon@Simon-Shapiro.ORG>

next in thread | raw e-mail | index | archive | help
Hi,

I do not understand something and knwo not how to fix it:

err.h:void      warnx __P((const char *, ...));

and then, from make world last night:

/usr/src/3.0/src/bin/sh/../../usr.bin/printf/printf.c:139: macro
`warnx' used with just one arg
/usr/src/3.0/src/bin/sh/../../usr.bin/printf/printf.c:188: macro
`warnx' used with just one arg
/usr/src/3.0/src/bin/sh/../../usr.bin/printf/printf.c:229: macro
`warnx' used with only 2 args
/usr/src/3.0/src/bin/sh/../../usr.bin/printf/printf.c:362: macro
`warnx' used with only 2 args
mkdep: compile failed
*** Error code 1

I thought the syntax allows for ``one or more arguments'', not ``at
least one argument''.  GCC disagrees with me.

How/who corrects this?


If Microsoft Built Cars:

There would be an "Engine Pro" with bigger turbos, but it would be
slower
on most existing roads.


Sincerely Yours, 

Simon Shapiro                                                 Atlas
Telecom
Senior Architect         14355 SW Allen Blvd., Suite 130 Beaverton OR
97005
Shimon@i-Connect.Net                                  Voice:  
503.799.2313



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