conformtest: Don't test non-C90 headers for C90.

This commit is contained in:
Joseph Myers 2012-05-01 20:04:15 +00:00
parent 661f8cf03b
commit 343222a2a0
3 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,10 @@
2012-05-01 Joseph Myers <joseph@codesourcery.com>
* conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
Disable tests.
* conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
UNIX98]: Likewise.
* conform/conformtest.pl: Handle "macro-int-constant" and test for
usability of symbols in #if.

View File

@ -1,3 +1,4 @@
#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4
macro and
macro and_eq
macro bitand
@ -11,3 +12,4 @@ macro xor
macro xor_eq
allow *_t
#endif

View File

@ -1,3 +1,4 @@
#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
type int8_t
type int16_t
type int32_t
@ -112,3 +113,4 @@ macro UINTMAX_C
// fnamtch implementation doesn't grok the right form.
allow INT*
allow UINT*
#endif