bugvile, a vi-compatible text editor - Bugs: bug #63356, Fix build for clang16 defaults

 
 

bug #63356: Fix build for clang16 defaults

Submitter:  None
Submitted:  Sun 13 Nov 2022 02:33:15 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 16 Nov 2022 12:09:11 AM UTC, comment #2: 

hmm - no.  That's not a fix.  See lint tools for a similar example.

The apparent problem is the noreturn attribute.
Some packagers have (I recall byacc) encountered it.
The fix which I just applied in

vile-snapshots, v9_8w4

tells the configure script to always check for attributes.

Since it went into Gentoo before review, that's where the problem will be discussed further.

Thomas Dickey <dickey>
Group administrator
Sun 13 Nov 2022 03:26:51 PM UTC, comment #1: 

thanks (will see).  I've been working through all of the configure scripts, and estimated getting to vile in a few weeks - see

https://github.com/ThomasDickey?page=2&tab=repositories

Thomas Dickey <dickey>
Group administrator
Sun 13 Nov 2022 02:33:15 PM UTC, original submission:  

Hi,

clang16 will not allow implicit function pointer types, so this is failing right now. You can simulate this behavior with "-Werror=incompatible-function-pointer-types".

I wrote a small patch for it, sadly this also introduces two warnings when building with GCC.

See also:
https://bugs.gentoo.org/880941
https://bugs.gentoo.org/870412

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #53953:  xvile-9.8w-fix-build-for-clang16.patch added by None (788B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dickey (Posted a comment)
  •  

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-16 dickey StatusNone Fixed
    2022-11-13 None Attached File- Added xvile-9.8w-fix-build-for-clang16.patch, #53953

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code