Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2024 11:57:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281920] devel/rlwrap: doesn't build, rl_message error
Message-ID:  <bug-281920-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281920

            Bug ID: 281920
           Summary: devel/rlwrap: doesn't build, rl_message error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: uzsolt@FreeBSD.org
                CC: gamato@users.sf.net
                CC: gamato@users.sf.net
             Flags: maintainer-feedback?(gamato@users.sf.net)

cc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include
-DDATADIR=3D\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing -MT readline.o -MD -MP -MF .deps/readline.Tpo -c -o
readline.o readline.c
readline.c:192:16: error: too many arguments to function call, expected 0, =
have
1
  192 |     rl_message(message);
      |     ~~~~~~~~~~ ^~~~~~~
/usr/local/include/readline/readline.h:410:12: note: 'rl_message' declared =
here
  410 | extern int rl_message (void);
      |            ^
1 error generated.
*** Error code 1

Stop.

The relevant part of readline.h:

#if defined (USE_VARARGS) && defined (PREFER_STDARG)=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
extern int rl_message (const char *, ...)  __attribute__((__format__ (print=
f,
1, 2)));
#else=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20
extern int rl_message ();=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
#endif=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20


I think the USE_VARARGS or PREFER_STDARG isn't defined.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281920-7788>