Skip to content

eb54d46f726 triggers new build-time warning #20302

@jkeenan

Description

@jkeenan

A recent commit has introduced a new build-time warning.

Using my customary configuration switches and clang10 as the compiler on FreeBSD-12, I built perl at 658a5be. I got the following build-time warning:

$ parse-build-warnings 658a5bedcf.freebsd.threaded.maketp.output.txt.gz
File:  658a5bedcf.freebsd.threaded.maketp.output.txt.gz

[
  {
    char   => 14,
    group  => "Wunused-variable",
    line   => 12662,
    source => "toke.c",
    text   => "unused variable 'syntax_error'",
  },
]

The line cited in toke.c was added in recent commit eb54d46:

commit eb54d46f7264ff7af62c409d8a6ab984a5a34f57 (HEAD)
Author:     Yves Orton <demerphq@gmail.com>
AuthorDate: Fri Aug 26 18:26:14 2022 +0200
Commit:     Yves Orton <demerphq@gmail.com>
CommitDate: Fri Sep 9 18:48:52 2022 +0200

    Stop parsing on first syntax error.

Configuring and building at that commit and the one immediately preceding that commit confirmed that it was the commit which first generated the warning.

@demerphq, can you take a look?

Thank you very much.
Jim Keenan

Metadata

Metadata

Assignees

No one assigned

    Labels

    build-time-warningsReplaces [META] Build-time warnings RT #133556

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions