Project

General

Profile

Bug #33791

compiler warning: implicit declaration of function 'index'

Added by Vita Batrla 8 days ago. Updated 8 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07 Jun 2019
Due date:
% Done:

0%

Patch proposed:
No
Planning:
No

Description

Compilation on Solaris reports following warning:

tests/basic_tests.c:2141:7: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration]
qs = index(authnRequestUrl, '?') + 1;
^~~
tests/basic_tests.c:2141:7: warning: incompatible implicit declaration of built-in function 'index'

File tests/basic_tests.c uses index(3C) without including required head file <strings.h>.

0001-fix-missing-include-strings.h-for-index-fixes-33791.patch View (815 Bytes) Vita Batrla, 07 Jun 2019 12:52 PM

History

Also available in: Atom PDF