mirror of
https://github.com/json-c/json-c.git
synced 2026-03-31 02:49:06 +08:00
Include the tests and apps directories at the _end_, since order in the
cmake rules matters, and fix compile warnings now that we're building those sources with all the regular flags.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
/* Avoid compiler warnings about diving by constant zero */
|
||||
double zero_dot_zero = 0.0;
|
||||
|
||||
int main()
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
struct json_object *obj = json_object_new_double(0.5);
|
||||
char udata[] = "test";
|
||||
|
||||
Reference in New Issue
Block a user