Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882345 - app-editors/emacs-18.59-r15 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]
Summary: app-editors/emacs-18.59-r15 fails to compile (CLANG-STRICTER-SYSTEM): eval.c:...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
Depends on:
Blocks: c99-porting
  Show dependency tree
Reported: 2022-11-21 08:23 UTC by Agostino Sarubbo
Modified: 2024-01-31 18:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,903.85 KB, text/plain)
2022-11-21 08:23 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 4 Agostino Sarubbo gentoo-dev 2024-01-31 18:03:03 UTC
clang-lld_tinderbox has reproduced this issue with version 18.59-r15 - Updating summary.