Discussion:
gcc trunk build failure in winnt.c
Tim Prince
2014-06-25 12:40:18 UTC
Permalink
Should this be filed in a PR?
../../gcc/config/i386/winnt.c: In function ‘unsigned int
i386_pe_section_type_fl
ags(tree, const char*, int)’:
../../gcc/config/i386/winnt.c:503:43: warning: cast from type ‘const
char*’ to t
ype ‘unsigned int*’ casts away qualifiers [-Wcast-qual]
slot = htab->find_slot ((unsigned int *)name, INSERT);
^
../../gcc/config/i386/winnt.c: In function ‘const char*
i386_find_on_wrapper_lis
t(const char*)’:
../../gcc/config/i386/winnt.c:787:22: error: ‘hash_table_c’ does not
name a type

wrappers = new hash_table_c<wrapped_symbol_hasher> (8);
^
../../gcc/config/i386/winnt.c:787:56: error: expected primary-expression
before
‘>’ token
wrappers = new hash_table_c<wrapped_symbol_hasher> (8);
--
Tim Prince
Tim Prince
2014-06-25 12:58:34 UTC
Permalink
I had neglected to build clean from scratch after adding
--disable-werror to the configure command. I suppose --disable-werror
is an expected requirement for targets other than the top priority ones
(but is that documented somewhere?).
--
Tim Prince
Loading...