Commit Graph

7 Commits

Author SHA1 Message Date
Reini Urban fc2dd942fc Fixed most compiler warnings -Wall -Wextra
repro:
  CFLAGS="-Wall -Wextra -Wunused-parameter -Wc++-compat" ./configure && make

which we use for perl, and libyaml is now included in cperl.
Tested with gcc-5 and clang-3.7

There are still a tons of format warnings (%d on 64bit) in
example-deconstructor.c which I skipped.
2018-01-08 10:44:25 -08:00
Ian Cordasco 49be466cb1 Fix pointer warnings in example-deconstructor
There were several places in our test deconstructor where we were
passing plain char[]s to functions expecting (yaml_char_t *)s. Since we
will soon be forcing warnings to become errors, it makes sense to clean
these up.
2016-12-29 15:55:41 -06:00
Ian Cordasco 44d49c9019 Fix -Wformat compilation errors in tests
There were several warnings generated by formatting errors in the tests,
this corrects the format strings and silences the warnings.
2016-12-17 13:27:18 -08:00
Kirill Simonov dfe448315f Fixed double free in an example. 2016-06-20 19:22:50 -05:00
Kirill Simonov e27a3c886e Add functions for constructing, parsing and emitting YAML documents. 2007-01-07 20:11:16 +00:00
Kirill Simonov 028f3e8709 Prepare the initial release. 2006-08-01 11:28:16 +00:00
Kirill Simonov 2a02dfd262 Add two examples and prepare the build system for distribution. 2006-07-31 22:24:32 +00:00