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

Bug 879723

Summary: net-dns/knot: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: Pierre-Olivier Mercier <nemunaire>
Status: CONFIRMED ---    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: clang-14.log
clang-15.log
clang.diff

Description Matt Jolly gentoo-dev 2022-11-04 22:12:47 UTC
This package has been identified via automation as potentially impacted by upcoming Clang 16 changes.
The following have been identified as potential issues:

[-Werror,-Wstrict-prototypes]

[-Werror,-Wstrict-prototypes]
error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:12:49 UTC
Created attachment 827417 [details]
clang-14.log

build log
Comment 2 Matt Jolly gentoo-dev 2022-11-04 22:12:51 UTC
Created attachment 827419 [details]
clang-15.log

build log
Comment 3 Matt Jolly gentoo-dev 2022-11-04 22:12:52 UTC
Created attachment 827421 [details]
clang.diff

build log
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-11 05:20:34 UTC
Also:
```
@@ -500,13 +500,13 @@
 ignoreme: error: call to undeclared function 'cpuset_create'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
 cpuset_t* set = cpuset_create(); cpuset_destroy(set);
                 ^
-ignoreme: warning: incompatible integer to pointer conversion initializing 'cpu_set_t *' with an expression of type 'int' [-Wint-conversion]
+ignoreme: error: incompatible integer to pointer conversion initializing 'cpu_set_t *' with an expression of type 'int' [-Wint-conversion]
 cpuset_t* set = cpuset_create(); cpuset_destroy(set);
           ^     ~~~~~~~~~~~~~~~
 ignoreme: error: call to undeclared function 'cpuset_destroy'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
 cpuset_t* set = cpuset_create(); cpuset_destroy(set);
                                  ^
-2 warnings and 3 errors generated.
```