|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1595 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1595.
Report 1595 Actions
Problem Report Number 1595 Submitter's Classification Specification problem State Resolved Resolution Permanent Interpretation (PIN) Problem Resolution ID PIN.X.0152 Raised 1996-03-07 08:00 Updated 2003-03-13 08:00 Published 1996-03-18 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.0 Test Identification CAPI.hdr/misc/math 11, 13, 17 Specification System Interfaces and Libraries Issue 4 Version 2 Location in Spec See Problem Text Problem Summary PIN4U.00018 This test may fail because, in certain specific circumstances, function prototypes are not required in this version of the spec. Problem Text
This test may fail because, in certain specific circumstances, function
prototypes are not required in this version of the spec.
Interpretation 1170/152 has determined that complete prototypes are not
required to be present in the header files. These tests are now
testing for non-XPG4 required behaviour. The applicable portions of
the interpretation are below.
______________________________________________________________________
+Resolution Request ref : 1170/152
Publication : XSH4 V2
Interface : Functions declarations in header files
Date requested : 7.11.95
Status : Open
_______________________________________________________________________
[Request text starts]
Is there a normative XPG requirement for XPG4 functions (in
the appropriate headers) to be declared using full function prototypes?
.
.
.
[Request text ends]
[Resolution response]
There may not be a normative requirement, but the Base WG believes that
they should be encouraged. They are required in 9945-1:1990. If POSIX
conformance with standard C is also being claimed, POSIX function
prototypes must be present, and waivers should be granted if requested
for non-POSIX functions, otherwise function prototypes are not required
and waivers should be granted if requested. This issue will be
addressed in XPGnext, in which it is recommended that function
prototypes for all functions, should be required. The conformance
requirements should be extended to inculde a requirement to be
POSIX.1/.2 conforming. The test suite should continue to test for the
presence of function prototypes, and issue waivers where necessary.
Users for whom this is an issue should specify UNIX 95 conformance and
FIPS-2 (or POSIX.1) conformance as well.
(For testing PINs could be granted for those implementations
that dont have prototypes for non-POSIX functions for those
folks claiming Spec1170 and POSIX).
Test Output
TEST CASE: math.h
TEST PURPOSE #11
The function int ilogb(double x) shall be declared
with the correct prototype in math.h.
ERROR: ilogb not defined
11 FAIL
TEST PURPOSE #13
The function double logb(double x) shall be declared
with the correct prototype in math.h.
ERROR: logb not defined
13 FAIL
TEST PURPOSE #17
The function double nextafter(double x, double y)
shall be declared with the correct prototype in math.h.
ERROR: nextafter not defined
17 FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
Anticipating future alignment of the XSH spec with BR 1170/152
a permanent interpretation is recommended.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Permanent Interpretation (PIN) Review Conclusion
A Permanent Interpretation is granted.
Problem Reporting System Options:
- View Report 1595
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority