mainAutoconf - Support: sr #110214, autoreconf passes -Wcross to...

 
 

sr #110214: autoreconf passes -Wcross to aclocal/automake but they don't support that

Submitter:  Ross Burton <rossburton>
Submitted:  Fri 20 Mar 2020 03:57:54 PM UTC
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 24 Sep 2020 02:05:52 PM UTC, comment #2: 

Fixed in edcb0925a54cc7bd96e444925aa8fa1e9294b713.

Warning categories are now in sync between trunk autoconf and trunk automake; autoreconf passes down warning options in a way that will cause unknown warning categories to be ignored by tools that don't support them; and in trunk autoconf and automake, an unknown warning category on the command line will never be treated as a hard error.

Zack Weinberg <zackw>
Group administrator
Fri 10 Jul 2020 04:20:10 PM UTC, comment #1: 

Confirmed, but I'm not sure whether the better fix would be to make autoreconf aware of which tools accept which warnings, or to make all the individual tools silently accept warning categories that are known to be accepted by some tool.  The latter seems abstractly cleaner, but would require coordination with at least automake and libtool.

We probably aren't going to be able to do anything about this before 2.70.

Zack Weinberg <zackw>
Group administrator
Fri 20 Mar 2020 03:57:54 PM UTC, original submission:  

If I call autoreconf -Wcross, the flag is passed to all the binaries that it calls.  However, only autoconf supports -Wcross:

aclocal: warning: unknown warning category 'cross'
automake: warning: unknown warning category 'cross'


Ross Burton <rossburton>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zackw (Posted a comment)
  • -email is unavailable- added by rossburton (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-24 zackw Priority1 - Blocked 5 - Unprioritized
        StatusConfirmed Done
        Open/ClosedOpen Closed
    2020-07-10 zackw Priority5 - Unprioritized 1 - Blocked
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code