Fivetonsofflax / opentyrian

Automatically exported from code.google.com/p/opentyrian
GNU General Public License v2.0
0 stars 0 forks source link

cJSON.c warnings treated as errors #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On fresh install of ubuntu 9-10
2. Clean install from revision fe5a98fc88
3. Run make

What is the expected output? What do you see instead?
Expected: build complete, no error

Seen:
/usr/bin/gcc -o obj/cJSON.o -MMD -c -g3 -O0 -Werror --std=c99 -pedantic
-Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -I./src
-I/usr/include  -DTARGET_UNIX -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -DHG_REV='"fe5a98fc8825 default"' src/cJSON.c 
cc1: warnings being treated as errors
src/cJSON.c: In function ‘print_array’:
src/cJSON.c:315: error: format not a string literal and no format arguments
src/cJSON.c: In function ‘print_object’:
src/cJSON.c:377: error: format not a string literal and no format arguments
src/cJSON.c:379: error: format not a string literal and no format arguments
make: *** [obj/cJSON.o] Error 1

What version of the product are you using? On what operating system?
revision fe5a98fc88 on Ubuntu Karmic 

Please provide any additional information below.

Original issue reported on code.google.com by hanso...@gmail.com on 31 Oct 2009 at 5:21

GoogleCodeExporter commented 9 years ago

Original comment by mindless...@gmail.com on 31 Oct 2009 at 4:43

GoogleCodeExporter commented 9 years ago
should be fixed as of revision 27d142a3d7

Original comment by mindless...@gmail.com on 31 Oct 2009 at 5:16