Ticket #47474

configure: pthreads test passing NULL as nonnull parameter

Eröffnet am: 2023-02-22 11:47 Letztes Update: 2023-03-08 10:31

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
2

Details

From build logs:

conftest.c:115:45: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
return pthread_create(NULL, NULL, NULL, NULL);

conftest.c:115:45: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
return pthread_create(NULL, NULL, NULL, NULL);

These refer to third and fourth parameters. This might be just cosmetic, but I can't say for sure that under no circumstances (especially with -Werror involved) this would not cause configure to incorrectly reject pthreads.

Ticket-Verlauf (3/5 Historien)

2023-02-22 11:47 Aktualisiert von: cazfi
  • New Ticket "configure: pthreads test passing NULL as nonnull parameter" created
2023-03-03 13:29 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
  • Meilenstein Update from (Keine) to 3.0.7 (closed)
Kommentar

Patch also for S2_6 attached.

2023-03-08 10:31 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden