Description of problem:
Using nspr header gives a warning in the prlink.h file when -Wstrict-prototypes
is included in the CFLAGS. And when -Werror is used, then it is not possible to
compile at all.
Version-Release number of selected component (if applicable):
nspr-devel-4.6.7-3.fc8
but the header was not changed since Apr/06/2006, so all current Fedora and RHEL
versions are affected.
How reproducible:
100%
Steps to Reproduce:
1. run the script from attachments
Actual results:
In file included from /usr/include/nspr4/nspr.h:55, from nspr-test.c:2:
/usr/include/nspr4/prlink.h:52: warning: function declaration isn’t a prototype
/usr/include/nspr4/prlink.h:209: warning: function declaration isn’t a prototype
Description of problem:
Using nspr header gives a warning in the prlink.h file when -Wstrict-prototypes
is included in the CFLAGS. And when -Werror is used, then it is not possible to
compile at all.
Version-Release number of selected component (if applicable): 4.6.7-3. fc8
nspr-devel-
but the header was not changed since Apr/06/2006, so all current Fedora and RHEL
versions are affected.
How reproducible:
100%
Steps to Reproduce:
1. run the script from attachments
Actual results: nspr4/nspr. h:55,
from nspr-test.c:2: nspr4/prlink. h:52: warning: function declaration isn’t a prototype nspr4/prlink. h:209: warning: function declaration isn’t a prototype
In file included from /usr/include/
/usr/include/
/usr/include/
Expected results:
No warnings
Additional info: gcc.gnu. org/ml/ gcc-help/ 2006-07/ msg00033. html
There was a thread in gcc mailing list about the meaning of the warning -
http://