diff options
| author | Michael Matz <matz@suse.de> | 2016-08-07 02:15:34 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2016-12-15 17:47:10 +0100 |
| commit | 34fc6435ee17e6d2bbfffc367532cf340cf730a2 (patch) | |
| tree | 03f510ee2a18fa2e32d2c4026eee5fab0a811127 /tcc.h | |
| parent | b1a906b970e1f55c1a3e6786cddb08719216ade3 (diff) | |
| download | tinycc-34fc6435ee17e6d2bbfffc367532cf340cf730a2.tar.gz tinycc-34fc6435ee17e6d2bbfffc367532cf340cf730a2.tar.bz2 | |
enums and ints are compatible
But like GCC do warn about changes in signedness. The latter
leads to some changes in gen_assign_cast to not also warn about
unsigned* = int*
(where GCC warns, but only with extra warnings).
Diffstat (limited to 'tcc.h')
| -rw-r--r-- | tcc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -387,7 +387,8 @@ struct Attribute { mode : 4, weak : 1, visibility : 2, - fill : 8; // 8 bits left to fit well in union below + unsigned_enum : 1, + fill : 7; // 7 bits left to fit well in union below }; /* GNUC attribute definition */ |
