Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893904 - games-fps/quakeforge: possible configure breakage with clang 16
Summary: games-fps/quakeforge: possible configure breakage with clang 16
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2023-02-11 05:15 UTC by Sam James
Modified: 2024-11-01 22:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-11 05:15:27 UTC
```
--- /tmp/clang/home/tinderbox/img/17.1_no_multilib_hardened-j4-20221204-010004/var/tmp/clang/games-fps/quakeforge-0.7.2_p20210722-r1/clang16-safe.log   2023-02-11 03:38:29.993568907 +0000
+++ /tmp/clang/home/tinderbox/img/17.1_no_multilib_hardened-j4-20221204-010004/var/tmp/clang/games-fps/quakeforge-0.7.2_p20210722-r1/clang16-errors.log 2023-02-11 03:38:29.993568907 +0000
[...]
-ignoreme: warning: incompatible function pointer types initializing 'int (*)()' with an expression of type 'size_t (const char *, size_t)' (aka 'unsigned long (const char *, unsigned long)') [-Wincompatible-function-pointer-types]
+ignoreme: error: incompatible function pointer types initializing 'int (*)()' with an expression of type 'size_t (const char *, size_t)' (aka 'unsigned long (const char *, unsigned long)') [-Werror,-Wincompatible-function-pointer-types]
 int (*foo)() = strnlen;
       ^        ~~~~~~~
-ignoreme: warning: incompatible function pointer types initializing 'int (*)()' with an expression of type 'char *(const char *, unsigned long)' [-Wincompatible-function-pointer-types]
+ignoreme: error: incompatible function pointer types initializing 'int (*)()' with an expression of type 'char *(const char *, unsigned long)' [-Werror,-Wincompatible-function-pointer-types]
 int (*foo)() = strndup;
       ^        ~~~~~~~
```