UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2518 Compile Warnings from my mac
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Engine
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2518 Item 2518] imported from sourceforge.net tracker on 2013-01-28 19:39:33

src/shared/shared.c: In function 'Com_sprintf':
src/shared/shared.c:473: warning: comparison is always false due to limited range of data type
src/shared/shared.c:475: warning: comparison is always true due to limited range of data type

src/client/menu/m_main.c: In function 'MN_Memory_f':
src/client/menu/m_main.c:211: warning: format '%zu' expects type 'size_t', but argument 2 has type 'int'
src/client/menu/m_main.c:211: warning: format '%zu' expects type 'size_t', but argument 2 has type 'int'

src/shared/utf8.c: In function 'UTF8_strncpyz':
src/shared/utf8.c:171: warning: comparison is always false due to limited range of data type
src/shared/utf8.c:172: warning: comparison is always true due to limited range of data type

src/ports/macosx/osx_main.m:103: warning: cannot find interface declaration for 'SDLApplication'

src/tools/ufo2map/writebsp.c: In function 'EmitDrawNode_r':
src/tools/ufo2map/writebsp.c:182: warning: format '%zu' expects type 'size_t', but argument 4 has type 'int'
src/tools/ufo2map/writebsp.c:186: warning: format '%zu' expects type 'size_t', but argument 3 has type 'int'








Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5490)

===== Comments Ported from Sourceforge =====

====== aduke1 (2012-10-01 00:48:18.087000) ======

- **milestone**: 2.3 --> 2.3.x

====== tlh2000 (2012-10-01 11:33:47.257000) ======

- **status**: open --> closed
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif