[Freeciv-Dev] [bug #18872] Freeciv does not compile with clang

2011-10-28 Thread David Lowe
Follow-up Comment #4, bug #18872 (project freeciv): Neither the shared.c error or the md5.c error appear without --enable-debug, so perhaps i named this ticket incorrectly. Actually i've just collected a third warning that pops up in this environment. Should i split out the new one and the 'com

[Freeciv-Dev] [bug #18872] Freeciv does not compile with clang

2011-10-27 Thread Jacob Nevins
Follow-up Comment #3, bug #18872 (project freeciv): md5.c:148:5: error: cast from 'const unsigned char *' to 'MD5_u32plus *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Werror,-Wcast-align] STEP(F, a, b, c, d, SET(0), 0xd76aa478, 7) ^~~

[Freeciv-Dev] [bug #18872] Freeciv does not compile with clang

2011-10-27 Thread David Lowe
Follow-up Comment #2, bug #18872 (project freeciv): My package does set --enable-debug, but i thought the user in question had deleted that line. I don't currently have access to 10.7, so i'm awaiting his response. ___ Reply to this item

[Freeciv-Dev] [bug #18872] Freeciv does not compile with clang

2011-10-27 Thread Jason Dorje Short
Follow-up Comment #1, bug #18872 (project freeciv): The warning you show is a minor bug perhaps, but the real question here is why is compilation using -Werror? You didn't pass --enable-debug=yes or --enable-debug=checks to the autogen / configure script? Or is the non-presence of gcc confusing

[Freeciv-Dev] [bug #18872] Freeciv does not compile with clang

2011-10-27 Thread David Lowe
URL: Summary: Freeciv does not compile with clang Project: Freeciv Submitted by: doctorjlowe Submitted on: Thu 27 Oct 2011 09:25:41 AM PDT Category: None Severity: 3 - Normal