Follow-up Comment #8, bug #18872 (project freeciv):

It's actually not my setup - it's a user of my Freeciv package in the 'fink'
environment.  But yeah, i'm fairly certain that he's on x86_64.  I'll send him
a new patch and see what happens.  It won't happen right away though, as i've
got some calculus homework coming due.  If the patch suppresses the warning,
upstream probably should be notified that their assumptions as to what will
tolerated are out of date...

Judging by the new title of the ticket, the other two warnings treated as
errors are still going to be handled on this ticket.  In that case, here is
more detail on the third error he saw:

/bin/sh ../libtool --preserve-dup-deps --silent --tag=CC   --mode=compile
llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I..   -I/sw/include
-DLOCALEDIR=""/sw/share/locale"" -DBINDIR=""/sw/bin""
-DDEFAULT_DATA_PATH="".:data:~/.freeciv/2.3:/sw/share/freeciv""
-DDEFAULT_SAVES_PATH=""""
-DDEFAULT_SCENARIO_PATH="".:data/scenario:~/.freeciv/2.3/scenarios:~/.freeciv/scenarios:/sw/share/freeciv/scenario""
-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Werror -g -O2 -c -o registry.lo registry.c
cc1: warnings being treated as errors
registry.c: In function 'secfile_entry_delete':
registry.c:1713: warning: return makes integer from pointer without a cast
registry.c: In function 'secfile_lookup_plain_enum_full':
registry.c:2116: warning: return makes integer from pointer without a cast
registry.c:2117: warning: return makes integer from pointer without a cast
registry.c:2118: warning: return makes integer from pointer without a cast
registry.c:2119: warning: return makes integer from pointer without a cast
registry.c: In function 'secfile_lookup_bitwise_enum_full':
registry.c:2258: warning: return makes integer from pointer without a cast
registry.c:2259: warning: return makes integer from pointer without a cast
registry.c:2260: warning: return makes integer from pointer without a cast
registry.c:2261: warning: return makes integer from pointer without a cast
registry.c: In function 'secfile_lookup_enum_data':
registry.c:2440: warning: return makes integer from pointer without a cast
registry.c:2441: warning: return makes integer from pointer without a cast
registry.c:2442: warning: return makes integer from pointer without a cast

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18872>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to