-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
Evergreen is now running with -Werror for GCC (on linux and solaris) successfully – but clang emits a handful of other warnings such as:
[2015/12/09 05:48:58.793] src/bson/bson-reader.c:345:33: warning: cast from 'bson_reader_t *' to 'bson_reader_handle_t *' increases required alignment from 8 to 128 [-Wcast-align] [2015/12/09 05:48:58.793] bson_reader_handle_t *real = (bson_reader_handle_t *)reader;
and
[2015/12/09 05:49:20.057] tests/test-mongoc-collection.c:604:46: warning: format string is not a string literal [-Wformat-nonliteral] [2015/12/09 05:49:20.057] gle_json_formatted = bson_strdupv_printf (gle_json, args); [2015/12/09 05:49:20.057] ^~~~~~~~
- related to
-
CDRIVER-669 Turn compiler warnings into errs on Evergreen
- Closed
-
CDRIVER-1559 syscall deprecated in macOS
- Closed