Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 882345

Summary: app-editors/emacs-18.59-r14 fails to compile (CLANG-STRICTER-SYSTEM): eval.c:1269:5: error: incompatible pointer to integer conversion passing unsigned char[1] to parameter of type int [-Wint-conversion]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: GNU Emacs project <gnu-emacs>
Status: IN_PROGRESS ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-11-21 08:23:08 UTC

Issue: app-editors/emacs-18.59-r14 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-21 08:23:11 UTC
Created attachment 835363 [details]

build log and emerge --info
Comment 2 Ulrich Müller gentoo-dev 2022-11-21 11:55:34 UTC
Emacs 18 is currently only available on 32 bit platforms, and there are many places where the code assumes that a pointer will fit in an integer.

I am currently working on a 64 bit version which will fix all these problems.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-23 01:04:16 UTC
Thank you.