boringssl/crypto/bio
David Benjamin a353cdb671 Wrap MSVC-only warning pragmas in a macro.
There's a __pragma expression which allows this. Android builds us Windows with
MinGW for some reason, so we actually do have to tolerate non-MSVC-compatible
Windows compilers. (Clang for Windows is much more sensible than MinGW and
intentionally mimicks MSVC.)

MinGW doesn't understand MSVC's pragmas and warns a lot. #pragma warning is
safe to suppress, so wrap those to shush them. This also lets us do away with a
few ifdefs.

Change-Id: I1f5a8bec4940d4b2d947c4c1cc9341bc15ec4972
Reviewed-on: https://boringssl-review.googlesource.com/8236
Reviewed-by: Adam Langley <agl@google.com>
2016-06-09 21:29:36 +00:00
..
bio_mem.c BIO_new_mem_buf should take const void * 2016-02-24 19:14:19 +00:00
bio_test.cc Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
bio.c Fix all sign/unsigned warnings with Clang and GCC. 2015-10-27 22:48:00 +00:00
buffer.c Don't cast |OPENSSL_malloc|/|OPENSSL_realloc| result. 2016-02-11 22:07:56 +00:00
CMakeLists.txt
connect.c Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
fd.c Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
file.c Remove CP_UTF8 code for Windows filenames. 2016-02-22 17:19:33 +00:00
hexdump.c
internal.h Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
pair.c Make local functions static. 2016-03-20 16:37:58 +00:00
printf.c Fix all sign/unsigned warnings with Clang and GCC. 2015-10-27 22:48:00 +00:00
socket_helper.c Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
socket.c Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00