unofficial mirror of 
 help / color / mirror / code / Atom feed
* bug#69717: Warnings about prototype mismatch from makeinfo
@ 2024-03-10 23:07 Tomas Volf
  0 siblings, 0 replies; only message in thread
From: Tomas Volf @ 2024-03-10 23:07 UTC (permalink / raw)
  To: 69717

[-- Attachment #1: Type: text/plain, Size: 4642 bytes --]


when I take an example .texi file from Texinfo's manual:

\input texinfo
@settitle Sample Manual 1.0

This is a short example of a complete Texinfo file.

Copyright @copyright{} 2016 Free Software Foundation, Inc.
@end copying

@title Sample Title
@vskip 0pt plus 1filll
@end titlepage


@node Top
@top GNU Sample

This manual is for GNU Sample

* First Chapter::    The first chapter is the
                      only chapter in this sample.
* Index::            Complete index.
@end menu

@node First Chapter
@chapter First Chapter

@cindex chapter, first
This is the first chapter.
@cindex index entry, another

Here is a numbered list.

This is the first item.

This is the second item.
@end enumerate

@node First Section
@section First Section

First section of first chapter.

@node Second Section
@section Second Section

Second section of first chapter.

@node Index
@unnumbered Index

@printindex cp


And try to produce .info file from it, I get several warning about subroutines
being redefined with mismatching prototypes:

/tmp $ guix shell -C gcc-toolchain texinfo -- makeinfo xxx.texi
Prototype mismatch: sub Texinfo::Convert::Paragraph::new ($;@) vs ($;$) at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 53, <$fh> line 8.
Subroutine new redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 40, <$fh> line 8.
Subroutine end_line_count redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 76, <$fh> line 8.
Subroutine end_line redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 82, <$fh> line 8.
Subroutine _end_line redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 90, <$fh> line 8.
Subroutine get_pending redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 105, <$fh> line 8.
Prototype mismatch: sub Texinfo::Convert::Paragraph::add_pending_word ($;@) vs ($;$) at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 123, <$fh> line 8.
Subroutine add_pending_word redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 118, <$fh> line 8.
Subroutine end redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 163, <$fh> line 8.
Prototype mismatch: sub Texinfo::Convert::Paragraph::add_next ($$;@) vs ($;$$) at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 190, <$fh> line 8.
Subroutine add_next redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 184, <$fh> line 8.
Subroutine remove_end_sentence redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 251, <$fh> line 8.
Prototype mismatch: sub Texinfo::Convert::Paragraph::add_end_sentence ($$) vs ($;$) at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 260, <$fh> line 8.
Subroutine add_end_sentence redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 256, <$fh> line 8.
Subroutine allow_end_sentence redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 263, <$fh> line 8.
Prototype mismatch: sub Texinfo::Convert::Paragraph::set_space_protection ($$;@) vs ($$;$$$$) at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 291, <$fh> line 8.
Subroutine set_space_protection redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 270, <$fh> line 8.
Subroutine add_text redefined at /gnu/store/4zkk85pkwdafpf3qd6q47xq0fw08kv30-texinfo-7.0.3/share/texinfo/Texinfo/Convert/ line 298, <$fh> line 8.

Am I doing something wrong or is this expected?

Have a nice day,
Tomas Volf

There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-10 23:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-10 23:07 bug#69717: Warnings about prototype mismatch from makeinfo Tomas Volf

Code repositories for project(s) associated with this public inbox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).