#745 Conflicting declarations of variable nrofpixmaps

None
closed
nobody
server (359)
5
2014-04-13
2012-09-23
No

Hi,

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

- ./common/image.c:unsigned int nrofpixmaps = 0;
- ./utils/mapper.c:extern int nrofpixmaps; /* Found in common/image.c */
- ./include/loader.h:extern int nrofpixmaps;

The difference in signedness may cause undefined behaviour.

Best,
Michael

Discussion

  • Nicolas Weeger

    Nicolas Weeger - 2012-09-26
    • status: open --> pending-wont-fix
     
  • Nicolas Weeger

    Nicolas Weeger - 2012-09-26

    Hello.

    Thanks for the bug report :)

    This issue was fixed on the trunk server by revision 18267, ~3 months ago.

    Change details are at http://crossfire.svn.sourceforge.net/viewvc/crossfire?view=revision&revision=18267

    It could probably be ported to 1.x if needed, but I for one consider this branch dead :)

    If you really need it on the 1.x branch, reply on this bug report, and I'll look at backporting.

    Regards

    Nicolas

     
  • Nicolas Weeger

    Nicolas Weeger - 2013-06-23
    • status: pending-wont-fix --> closed-wont-fix
    • Group: --> 1.11
     
  • Nicolas Weeger

    Nicolas Weeger - 2013-06-23

    No reply, so considering the bug closed.

     
  • Kevin Zheng

    Kevin Zheng - 2014-01-18
    • Status: closed-wont-fix --> closed
     
  • Kevin Zheng

    Kevin Zheng - 2014-01-18
    • Status: closed --> suspended
     
  • Kevin Zheng

    Kevin Zheng - 2014-01-18
    • Status: suspended --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks