mirror of
https://github.com/mirror/make.git
synced 2025-03-05 23:30:57 +08:00
Pacify Oracle Studio c99
* src/dep.h (DEP): * src/function.c (struct function_table_entry): Use unsigned int, not unsigned short. Without this patch, c99 complains ‘warning: nonportable bit-field type’.
This commit is contained in:
parent
8bffc8d53c
commit
b6884c73b7
10
src/dep.h
10
src/dep.h
@ -44,11 +44,11 @@ struct nameseq
|
|||||||
NAMESEQ (_t); \
|
NAMESEQ (_t); \
|
||||||
struct file *file; \
|
struct file *file; \
|
||||||
const char *stem; \
|
const char *stem; \
|
||||||
unsigned short flags : 8; \
|
unsigned int flags : 8; \
|
||||||
unsigned short changed : 1; \
|
unsigned int changed : 1; \
|
||||||
unsigned short ignore_mtime : 1; \
|
unsigned int ignore_mtime : 1; \
|
||||||
unsigned short staticpattern : 1; \
|
unsigned int staticpattern : 1; \
|
||||||
unsigned short need_2nd_expansion : 1
|
unsigned int need_2nd_expansion : 1
|
||||||
|
|
||||||
struct dep
|
struct dep
|
||||||
{
|
{
|
||||||
|
@ -38,8 +38,8 @@ struct function_table_entry
|
|||||||
unsigned char len;
|
unsigned char len;
|
||||||
unsigned char minimum_args;
|
unsigned char minimum_args;
|
||||||
unsigned char maximum_args;
|
unsigned char maximum_args;
|
||||||
unsigned char expand_args:1;
|
unsigned int expand_args:1;
|
||||||
unsigned char alloc_fn:1;
|
unsigned int alloc_fn:1;
|
||||||
};
|
};
|
||||||
|
|
||||||
static unsigned long
|
static unsigned long
|
||||||
|
Loading…
Reference in New Issue
Block a user