Menu

#53 Duplicate and conflicting declaration of new_element

open
nobody
None
5
2012-09-23
2012-09-23
No

Hi,

While building your package using our research compiler infrastructure we noticed the following conflicting declarations:

  • xml_loadsave_league.c:PromRelElement new_element;
  • xml_loadsave_table.c:TableElement new_element;

As these types are entirely different, I'd even suspect an unintentional re-use of the variable name. Linking them together will result in undefined behaviour.

Best,
Michael

Discussion


Log in to post a comment.