From d0dfb664158ae7dbf2723352da6662cd1b104aef Mon Sep 17 00:00:00 2001 From: Rockford Wei Date: Sun, 28 May 2023 21:14:31 -0400 Subject: [PATCH] suppressing C warnings. --- Package.swift | 7 ++----- Sources/COpenSSL/a_.c | 1 + Sources/COpenSSL/aes_.c | 1 + Sources/COpenSSL/ameth_lib.c | 1 + Sources/COpenSSL/asn1_.c | 1 + Sources/COpenSSL/asn_.c | 1 + Sources/COpenSSL/b_dump.c | 1 + Sources/COpenSSL/b_print.c | 1 + Sources/COpenSSL/bf_.c | 1 + Sources/COpenSSL/bio_.c | 1 + Sources/COpenSSL/bn_.c | 1 + Sources/COpenSSL/bss_.c | 1 + Sources/COpenSSL/buffer.c | 1 + Sources/COpenSSL/by_.c | 1 + Sources/COpenSSL/c_.c | 1 + Sources/COpenSSL/cm_.c | 1 + Sources/COpenSSL/cmac.c | 1 + Sources/COpenSSL/cms_.c | 1 + Sources/COpenSSL/conf_.c | 1 + Sources/COpenSSL/d1_.c | 1 + Sources/COpenSSL/d1_lib.c | 1 + Sources/COpenSSL/d2i_.c | 1 + Sources/COpenSSL/dh_.c | 1 + Sources/COpenSSL/dsa_.c | 1 + Sources/COpenSSL/e_4758cca.c | 1 + Sources/COpenSSL/e_aep.c | 1 + Sources/COpenSSL/e_aes.c | 1 + Sources/COpenSSL/e_atalla.c | 1 + Sources/COpenSSL/e_chil.c | 1 + Sources/COpenSSL/e_cswift.c | 1 + Sources/COpenSSL/e_des3.c | 1 + Sources/COpenSSL/e_nuron.c | 1 + Sources/COpenSSL/e_sureware.c | 1 + Sources/COpenSSL/e_ubsec.c | 1 + Sources/COpenSSL/ec2_.c | 1 + Sources/COpenSSL/ec_.c | 1 + Sources/COpenSSL/ech_.c | 1 + Sources/COpenSSL/ecp_oct.c | 1 + Sources/COpenSSL/enc_.c | 1 + Sources/COpenSSL/encode.c | 1 + Sources/COpenSSL/eng_.c | 1 + Sources/COpenSSL/err_.c | 1 + Sources/COpenSSL/evp_.c | 1 + Sources/COpenSSL/gost_.c | 1 + Sources/COpenSSL/gosthash.c | 1 + Sources/COpenSSL/hm_.c | 1 + Sources/COpenSSL/hmac.c | 1 + Sources/COpenSSL/m_sigver.c | 1 + Sources/COpenSSL/md32_common.h | 1 + Sources/COpenSSL/md_rand.c | 1 + Sources/COpenSSL/mem.c | 1 + Sources/COpenSSL/mem_.c | 1 + Sources/COpenSSL/n_pkey.c | 1 + Sources/COpenSSL/o_.c | 1 + Sources/COpenSSL/obj_.c | 1 + Sources/COpenSSL/ocsp_.c | 1 + Sources/COpenSSL/ofb_enc.c | 1 + Sources/COpenSSL/p12_.c | 1 + Sources/COpenSSL/p5_.c | 1 + Sources/COpenSSL/p_.c | 1 + Sources/COpenSSL/pcy_.c | 1 + Sources/COpenSSL/pem_.c | 1 + Sources/COpenSSL/pk7_.c | 1 + Sources/COpenSSL/pvkfmt.c | 1 + Sources/COpenSSL/rand_.c | 1 + Sources/COpenSSL/randfile.c | 1 + Sources/COpenSSL/rsa_.c | 1 + Sources/COpenSSL/s23_.c | 1 + Sources/COpenSSL/s3_.c | 1 + Sources/COpenSSL/set_key.c | 1 + Sources/COpenSSL/sha256.c | 1 + Sources/COpenSSL/sha_locl.h | 1 + Sources/COpenSSL/srp_.c | 1 + Sources/COpenSSL/ssl_.c | 1 + Sources/COpenSSL/str2key.c | 1 + Sources/COpenSSL/t1_.c | 1 + Sources/COpenSSL/t_.c | 1 + Sources/COpenSSL/tasn_.c | 1 + Sources/COpenSSL/tb_asnmth.c | 1 + Sources/COpenSSL/tls_srp.c | 1 + Sources/COpenSSL/ts_.c | 1 + Sources/COpenSSL/txt_db.c | 1 + Sources/COpenSSL/ui_.c | 1 + Sources/COpenSSL/v3_.c | 1 + Sources/COpenSSL/x509_.c | 1 + Sources/COpenSSL/x509name.c | 1 + Sources/COpenSSL/x509spki.c | 1 + Sources/COpenSSL/x_.c | 1 + Sources/PerfectCZlib/deflate.c | 1 + Sources/PerfectCZlib/gzread.c | 1 + Sources/PerfectCZlib/gzwrite.c | 1 + 91 files changed, 92 insertions(+), 5 deletions(-) diff --git a/Package.swift b/Package.swift index b1e43621..71079959 100644 --- a/Package.swift +++ b/Package.swift @@ -24,9 +24,6 @@ let czLibExcludes: [String] = [ "zlib.map", "zlib.pc", "zlib.pc.cmakein", "zlib.pc.in", "zlib2ansi" ] -let flags: [String] = ["-Wno-conversion", "-Wno-deprecated-non-prototype"] -let cSettings = [CSetting.unsafeFlags(flags)] - #if os(Linux) let osdep: [Target.Dependency] = ["LinuxBridge"] let ostag: [Target] = [.target(name: "LinuxBridge"), .target(name: "PerfectCSQLite3")] @@ -56,10 +53,10 @@ let package = Package( ], dependencies: [ ], targets: ostag + [ - .target(name: "COpenSSL", cSettings: cSettings), + .target(name: "COpenSSL"), .target(name: "cURL"), .target(name: "PerfectAuth", dependencies: ["PerfectCrypto", "PerfectCRUD", "PerfectSQLite"]), - .target(name: "PerfectCZlib", exclude: czLibExcludes, cSettings: cSettings), + .target(name: "PerfectCZlib", exclude: czLibExcludes), .target(name: "PerfectCHTTPParser"), .target(name: "PerfectLib", dependencies: osdep), .target(name: "PerfectThread", dependencies: osdep), diff --git a/Sources/COpenSSL/a_.c b/Sources/COpenSSL/a_.c index 82d63aa4..50119ff6 100644 --- a/Sources/COpenSSL/a_.c +++ b/Sources/COpenSSL/a_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/asn1/a_bitstr.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/aes_.c b/Sources/COpenSSL/aes_.c index bd0850f7..cca4be8d 100644 --- a/Sources/COpenSSL/aes_.c +++ b/Sources/COpenSSL/aes_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/aes/aes_cbc.c */ /* ==================================================================== * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. diff --git a/Sources/COpenSSL/ameth_lib.c b/Sources/COpenSSL/ameth_lib.c index be73058e..cefdb168 100644 --- a/Sources/COpenSSL/ameth_lib.c +++ b/Sources/COpenSSL/ameth_lib.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2006. diff --git a/Sources/COpenSSL/asn1_.c b/Sources/COpenSSL/asn1_.c index 36299ec2..1f09a786 100644 --- a/Sources/COpenSSL/asn1_.c +++ b/Sources/COpenSSL/asn1_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/asn1/asn1_err.c */ /* ==================================================================== * Copyright (c) 1999-2018 The OpenSSL Project. All rights reserved. diff --git a/Sources/COpenSSL/asn_.c b/Sources/COpenSSL/asn_.c index d0d0e941..ff174b05 100644 --- a/Sources/COpenSSL/asn_.c +++ b/Sources/COpenSSL/asn_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* asn_mime.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL diff --git a/Sources/COpenSSL/b_dump.c b/Sources/COpenSSL/b_dump.c index fcfd6995..d836d59c 100644 --- a/Sources/COpenSSL/b_dump.c +++ b/Sources/COpenSSL/b_dump.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/bio/b_dump.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/b_print.c b/Sources/COpenSSL/b_print.c index a2ebe2b5..59e585c5 100644 --- a/Sources/COpenSSL/b_print.c +++ b/Sources/COpenSSL/b_print.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/bio/b_print.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/bf_.c b/Sources/COpenSSL/bf_.c index 0833fede..f3b4661b 100644 --- a/Sources/COpenSSL/bf_.c +++ b/Sources/COpenSSL/bf_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/bio/bf_buff.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/bio_.c b/Sources/COpenSSL/bio_.c index fe3bc19e..41fa1a34 100644 --- a/Sources/COpenSSL/bio_.c +++ b/Sources/COpenSSL/bio_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* bio_asn1.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL diff --git a/Sources/COpenSSL/bn_.c b/Sources/COpenSSL/bn_.c index a7d8db1b..a49987fd 100644 --- a/Sources/COpenSSL/bn_.c +++ b/Sources/COpenSSL/bn_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/bn/bn_add.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/bss_.c b/Sources/COpenSSL/bss_.c index b5a671d6..28ad4eb6 100644 --- a/Sources/COpenSSL/bss_.c +++ b/Sources/COpenSSL/bss_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/bio/bss_acpt.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/buffer.c b/Sources/COpenSSL/buffer.c index 82f462e8..2a0e7d1a 100644 --- a/Sources/COpenSSL/buffer.c +++ b/Sources/COpenSSL/buffer.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/buffer/buffer.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/by_.c b/Sources/COpenSSL/by_.c index ff48e154..eebf6149 100644 --- a/Sources/COpenSSL/by_.c +++ b/Sources/COpenSSL/by_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/x509/by_dir.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/c_.c b/Sources/COpenSSL/c_.c index 3b72d6da..0e37a8c0 100644 --- a/Sources/COpenSSL/c_.c +++ b/Sources/COpenSSL/c_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/evp/c_all.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/cm_.c b/Sources/COpenSSL/cm_.c index 53393010..ce66d1fd 100644 --- a/Sources/COpenSSL/cm_.c +++ b/Sources/COpenSSL/cm_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2010. diff --git a/Sources/COpenSSL/cmac.c b/Sources/COpenSSL/cmac.c index 9ae59c9b..6d9aafa3 100644 --- a/Sources/COpenSSL/cmac.c +++ b/Sources/COpenSSL/cmac.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/cmac/cmac.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL diff --git a/Sources/COpenSSL/cms_.c b/Sources/COpenSSL/cms_.c index afbec0a0..bd1bc961 100644 --- a/Sources/COpenSSL/cms_.c +++ b/Sources/COpenSSL/cms_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/cms/cms_asn1.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL diff --git a/Sources/COpenSSL/conf_.c b/Sources/COpenSSL/conf_.c index ab0d3893..1548dd8c 100644 --- a/Sources/COpenSSL/conf_.c +++ b/Sources/COpenSSL/conf_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* conf_api.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/d1_.c b/Sources/COpenSSL/d1_.c index ba720193..4bd26443 100644 --- a/Sources/COpenSSL/d1_.c +++ b/Sources/COpenSSL/d1_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ssl/d1_both.c */ /* * DTLS implementation written by Nagendra Modadugu diff --git a/Sources/COpenSSL/d1_lib.c b/Sources/COpenSSL/d1_lib.c index ab052545..cb2656ac 100644 --- a/Sources/COpenSSL/d1_lib.c +++ b/Sources/COpenSSL/d1_lib.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ssl/d1_lib.c */ /* * DTLS implementation written by Nagendra Modadugu diff --git a/Sources/COpenSSL/d2i_.c b/Sources/COpenSSL/d2i_.c index de45a985..63aaafbe 100644 --- a/Sources/COpenSSL/d2i_.c +++ b/Sources/COpenSSL/d2i_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/asn1/d2i_pr.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/dh_.c b/Sources/COpenSSL/dh_.c index 2e9b4056..8a993724 100644 --- a/Sources/COpenSSL/dh_.c +++ b/Sources/COpenSSL/dh_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2006. diff --git a/Sources/COpenSSL/dsa_.c b/Sources/COpenSSL/dsa_.c index f1d90aa9..07f39f79 100644 --- a/Sources/COpenSSL/dsa_.c +++ b/Sources/COpenSSL/dsa_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2006. diff --git a/Sources/COpenSSL/e_4758cca.c b/Sources/COpenSSL/e_4758cca.c index d331c134..a5e5e04e 100644 --- a/Sources/COpenSSL/e_4758cca.c +++ b/Sources/COpenSSL/e_4758cca.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* Author: Maurice Gittens */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. diff --git a/Sources/COpenSSL/e_aep.c b/Sources/COpenSSL/e_aep.c index edf7c229..0f433ec7 100644 --- a/Sources/COpenSSL/e_aep.c +++ b/Sources/COpenSSL/e_aep.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * diff --git a/Sources/COpenSSL/e_aes.c b/Sources/COpenSSL/e_aes.c index 4ff534b7..5a55b18d 100644 --- a/Sources/COpenSSL/e_aes.c +++ b/Sources/COpenSSL/e_aes.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ==================================================================== * Copyright (c) 2001-2018 The OpenSSL Project. All rights reserved. * diff --git a/Sources/COpenSSL/e_atalla.c b/Sources/COpenSSL/e_atalla.c index 0774c84f..b3b03e2d 100644 --- a/Sources/COpenSSL/e_atalla.c +++ b/Sources/COpenSSL/e_atalla.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/engine/hw_atalla.c */ /* * Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL project diff --git a/Sources/COpenSSL/e_chil.c b/Sources/COpenSSL/e_chil.c index 3abc504d..fb6af219 100644 --- a/Sources/COpenSSL/e_chil.c +++ b/Sources/COpenSSL/e_chil.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/engine/e_chil.c */ /* * Written by Richard Levitte (richard@levitte.org), Geoff Thorpe diff --git a/Sources/COpenSSL/e_cswift.c b/Sources/COpenSSL/e_cswift.c index f0fcbc7e..aff8bb7a 100644 --- a/Sources/COpenSSL/e_cswift.c +++ b/Sources/COpenSSL/e_cswift.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/engine/hw_cswift.c */ /* * Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL project diff --git a/Sources/COpenSSL/e_des3.c b/Sources/COpenSSL/e_des3.c index bd30bac1..63e341f1 100644 --- a/Sources/COpenSSL/e_des3.c +++ b/Sources/COpenSSL/e_des3.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/evp/e_des3.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/e_nuron.c b/Sources/COpenSSL/e_nuron.c index 1c943521..2dd3f5a2 100644 --- a/Sources/COpenSSL/e_nuron.c +++ b/Sources/COpenSSL/e_nuron.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/engine/hw_nuron.c */ /* * Written by Ben Laurie for the OpenSSL Project, leaning heavily on Geoff diff --git a/Sources/COpenSSL/e_sureware.c b/Sources/COpenSSL/e_sureware.c index f32c6aa1..d1bd6709 100644 --- a/Sources/COpenSSL/e_sureware.c +++ b/Sources/COpenSSL/e_sureware.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /*- * Written by Corinne Dive-Reclus(cdive@baltimore.com) * diff --git a/Sources/COpenSSL/e_ubsec.c b/Sources/COpenSSL/e_ubsec.c index e00ea4bd..ba20fbc5 100644 --- a/Sources/COpenSSL/e_ubsec.c +++ b/Sources/COpenSSL/e_ubsec.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/engine/hw_ubsec.c */ /* * Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL project diff --git a/Sources/COpenSSL/ec2_.c b/Sources/COpenSSL/ec2_.c index b289761b..5dcc7db9 100644 --- a/Sources/COpenSSL/ec2_.c +++ b/Sources/COpenSSL/ec2_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/ec/ec2_mult.c */ /* ==================================================================== * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. diff --git a/Sources/COpenSSL/ec_.c b/Sources/COpenSSL/ec_.c index f1e6243f..ab3e9446 100644 --- a/Sources/COpenSSL/ec_.c +++ b/Sources/COpenSSL/ec_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2006. diff --git a/Sources/COpenSSL/ech_.c b/Sources/COpenSSL/ech_.c index 88894864..6538b6c2 100644 --- a/Sources/COpenSSL/ech_.c +++ b/Sources/COpenSSL/ech_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/ecdh/ech_err.c */ /* ==================================================================== * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. diff --git a/Sources/COpenSSL/ecp_oct.c b/Sources/COpenSSL/ecp_oct.c index f08d0d45..dbc143e6 100644 --- a/Sources/COpenSSL/ecp_oct.c +++ b/Sources/COpenSSL/ecp_oct.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/ec/ecp_oct.c */ /* * Includes code written by Lenka Fibikova diff --git a/Sources/COpenSSL/enc_.c b/Sources/COpenSSL/enc_.c index 6b1abee1..3efa8dec 100644 --- a/Sources/COpenSSL/enc_.c +++ b/Sources/COpenSSL/enc_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/des/enc_read.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/encode.c b/Sources/COpenSSL/encode.c index 06ecf637..61786587 100644 --- a/Sources/COpenSSL/encode.c +++ b/Sources/COpenSSL/encode.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/evp/encode.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/eng_.c b/Sources/COpenSSL/eng_.c index 8e2c7aba..b5c2000c 100644 --- a/Sources/COpenSSL/eng_.c +++ b/Sources/COpenSSL/eng_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/engine/eng_all.c */ /* * Written by Richard Levitte for the OpenSSL project diff --git a/Sources/COpenSSL/err_.c b/Sources/COpenSSL/err_.c index 9c981be7..31cddd7b 100644 --- a/Sources/COpenSSL/err_.c +++ b/Sources/COpenSSL/err_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/err/err_all.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/evp_.c b/Sources/COpenSSL/evp_.c index 6d2babb4..a09db50e 100644 --- a/Sources/COpenSSL/evp_.c +++ b/Sources/COpenSSL/evp_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* evp_acnf.c */ /* * Written by Stephen Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/gost_.c b/Sources/COpenSSL/gost_.c index a1f0cbb9..904540d7 100644 --- a/Sources/COpenSSL/gost_.c +++ b/Sources/COpenSSL/gost_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /********************************************************************** * gost_ameth.c * * Copyright (c) 2005-2006 Cryptocom LTD * diff --git a/Sources/COpenSSL/gosthash.c b/Sources/COpenSSL/gosthash.c index bfc884ae..c2ce919e 100644 --- a/Sources/COpenSSL/gosthash.c +++ b/Sources/COpenSSL/gosthash.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /********************************************************************** * gosthash.c * * Copyright (c) 2005-2006 Cryptocom LTD * diff --git a/Sources/COpenSSL/hm_.c b/Sources/COpenSSL/hm_.c index 030ca777..90be770a 100644 --- a/Sources/COpenSSL/hm_.c +++ b/Sources/COpenSSL/hm_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2007. diff --git a/Sources/COpenSSL/hmac.c b/Sources/COpenSSL/hmac.c index 8587fc62..f1b6d081 100644 --- a/Sources/COpenSSL/hmac.c +++ b/Sources/COpenSSL/hmac.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/hmac/hmac.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/m_sigver.c b/Sources/COpenSSL/m_sigver.c index 195111aa..36658927 100644 --- a/Sources/COpenSSL/m_sigver.c +++ b/Sources/COpenSSL/m_sigver.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* m_sigver.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/md32_common.h b/Sources/COpenSSL/md32_common.h index ab6a5efc..597e7ba8 100644 --- a/Sources/COpenSSL/md32_common.h +++ b/Sources/COpenSSL/md32_common.h @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/md32_common.h */ /* ==================================================================== * Copyright (c) 1999-2007 The OpenSSL Project. All rights reserved. diff --git a/Sources/COpenSSL/md_rand.c b/Sources/COpenSSL/md_rand.c index b742e493..6e1adafe 100644 --- a/Sources/COpenSSL/md_rand.c +++ b/Sources/COpenSSL/md_rand.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/rand/md_rand.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/mem.c b/Sources/COpenSSL/mem.c index d7c43982..112b21f9 100644 --- a/Sources/COpenSSL/mem.c +++ b/Sources/COpenSSL/mem.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/mem.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/mem_.c b/Sources/COpenSSL/mem_.c index ebbe5cba..d09b787a 100644 --- a/Sources/COpenSSL/mem_.c +++ b/Sources/COpenSSL/mem_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/mem_clr.c */ /* * Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL project diff --git a/Sources/COpenSSL/n_pkey.c b/Sources/COpenSSL/n_pkey.c index 4641059e..823f9af3 100644 --- a/Sources/COpenSSL/n_pkey.c +++ b/Sources/COpenSSL/n_pkey.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/asn1/n_pkey.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/o_.c b/Sources/COpenSSL/o_.c index bbb007d7..5e279834 100644 --- a/Sources/COpenSSL/o_.c +++ b/Sources/COpenSSL/o_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/o_dir.c */ /* * Written by Richard Levitte (richard@levitte.org) for the OpenSSL project diff --git a/Sources/COpenSSL/obj_.c b/Sources/COpenSSL/obj_.c index 02700251..8896826e 100644 --- a/Sources/COpenSSL/obj_.c +++ b/Sources/COpenSSL/obj_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/objects/obj_dat.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/ocsp_.c b/Sources/COpenSSL/ocsp_.c index 4fae188e..6308d15a 100644 --- a/Sources/COpenSSL/ocsp_.c +++ b/Sources/COpenSSL/ocsp_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ocsp_asn.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/ofb_enc.c b/Sources/COpenSSL/ofb_enc.c index 02a78775..998a3cc9 100644 --- a/Sources/COpenSSL/ofb_enc.c +++ b/Sources/COpenSSL/ofb_enc.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/des/ofb_enc.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/p12_.c b/Sources/COpenSSL/p12_.c index 9f497f21..6dd30de6 100644 --- a/Sources/COpenSSL/p12_.c +++ b/Sources/COpenSSL/p12_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* p12_add.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/p5_.c b/Sources/COpenSSL/p5_.c index 466cb28c..86692df3 100644 --- a/Sources/COpenSSL/p5_.c +++ b/Sources/COpenSSL/p5_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* p5_crpt.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/p_.c b/Sources/COpenSSL/p_.c index 360c6b67..b6d6d274 100644 --- a/Sources/COpenSSL/p_.c +++ b/Sources/COpenSSL/p_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/evp/p_dec.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/pcy_.c b/Sources/COpenSSL/pcy_.c index fae243c0..800e0642 100644 --- a/Sources/COpenSSL/pcy_.c +++ b/Sources/COpenSSL/pcy_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* pcy_cache.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/pem_.c b/Sources/COpenSSL/pem_.c index b27b4c3a..1d3a8f59 100644 --- a/Sources/COpenSSL/pem_.c +++ b/Sources/COpenSSL/pem_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/pem/pem_all.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/pk7_.c b/Sources/COpenSSL/pk7_.c index ee05dacc..beaf5ce2 100644 --- a/Sources/COpenSSL/pk7_.c +++ b/Sources/COpenSSL/pk7_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* pk7_asn.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/pvkfmt.c b/Sources/COpenSSL/pvkfmt.c index ad89f664..d5852b13 100644 --- a/Sources/COpenSSL/pvkfmt.c +++ b/Sources/COpenSSL/pvkfmt.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2005. diff --git a/Sources/COpenSSL/rand_.c b/Sources/COpenSSL/rand_.c index 9b688efe..03b915f1 100644 --- a/Sources/COpenSSL/rand_.c +++ b/Sources/COpenSSL/rand_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/rand/rand_egd.c */ /* Written by Ulf Moeller and Lutz Jaenicke for the OpenSSL project. */ /* ==================================================================== diff --git a/Sources/COpenSSL/randfile.c b/Sources/COpenSSL/randfile.c index ff5a6858..db4ca5b2 100644 --- a/Sources/COpenSSL/randfile.c +++ b/Sources/COpenSSL/randfile.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/rand/randfile.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/rsa_.c b/Sources/COpenSSL/rsa_.c index 36b08d90..6ab5d9c8 100644 --- a/Sources/COpenSSL/rsa_.c +++ b/Sources/COpenSSL/rsa_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/rsa/rsa_ameth.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/s23_.c b/Sources/COpenSSL/s23_.c index 79216a95..e14f5fa1 100644 --- a/Sources/COpenSSL/s23_.c +++ b/Sources/COpenSSL/s23_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ssl/s23_clnt.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/s3_.c b/Sources/COpenSSL/s3_.c index 45032a05..8a611fd6 100644 --- a/Sources/COpenSSL/s3_.c +++ b/Sources/COpenSSL/s3_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ssl/s3_both.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/set_key.c b/Sources/COpenSSL/set_key.c index f75e0f64..166c42bc 100644 --- a/Sources/COpenSSL/set_key.c +++ b/Sources/COpenSSL/set_key.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/des/set_key.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/sha256.c b/Sources/COpenSSL/sha256.c index 89c5c710..1bdaa249 100644 --- a/Sources/COpenSSL/sha256.c +++ b/Sources/COpenSSL/sha256.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/sha/sha256.c */ /* ==================================================================== * Copyright (c) 2004 The OpenSSL Project. All rights reserved diff --git a/Sources/COpenSSL/sha_locl.h b/Sources/COpenSSL/sha_locl.h index 1b3a7c68..8ebcf822 100644 --- a/Sources/COpenSSL/sha_locl.h +++ b/Sources/COpenSSL/sha_locl.h @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/sha/sha_locl.h */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/srp_.c b/Sources/COpenSSL/srp_.c index d824ba05..cdbb8769 100644 --- a/Sources/COpenSSL/srp_.c +++ b/Sources/COpenSSL/srp_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/srp/srp_lib.c */ /* * Written by Christophe Renou (christophe.renou@edelweb.fr) with the diff --git a/Sources/COpenSSL/ssl_.c b/Sources/COpenSSL/ssl_.c index 2e37265c..8e765126 100644 --- a/Sources/COpenSSL/ssl_.c +++ b/Sources/COpenSSL/ssl_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ssl/ssl_algs.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/str2key.c b/Sources/COpenSSL/str2key.c index be1438b6..bcb8b1ca 100644 --- a/Sources/COpenSSL/str2key.c +++ b/Sources/COpenSSL/str2key.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/des/str2key.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/t1_.c b/Sources/COpenSSL/t1_.c index 515776b8..83e7e297 100644 --- a/Sources/COpenSSL/t1_.c +++ b/Sources/COpenSSL/t1_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ssl/t1_clnt.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/t_.c b/Sources/COpenSSL/t_.c index 851f7fcc..756b66ba 100644 --- a/Sources/COpenSSL/t_.c +++ b/Sources/COpenSSL/t_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* t_bitst.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/tasn_.c b/Sources/COpenSSL/tasn_.c index 20d21bcb..a27f70c7 100644 --- a/Sources/COpenSSL/tasn_.c +++ b/Sources/COpenSSL/tasn_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* tasn_dec.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/tb_asnmth.c b/Sources/COpenSSL/tb_asnmth.c index 865e0606..751ebe3e 100644 --- a/Sources/COpenSSL/tb_asnmth.c +++ b/Sources/COpenSSL/tb_asnmth.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ==================================================================== * Copyright (c) 2006-2018 The OpenSSL Project. All rights reserved. * diff --git a/Sources/COpenSSL/tls_srp.c b/Sources/COpenSSL/tls_srp.c index b7471194..09b8f370 100644 --- a/Sources/COpenSSL/tls_srp.c +++ b/Sources/COpenSSL/tls_srp.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* ssl/tls_srp.c */ /* * Written by Christophe Renou (christophe.renou@edelweb.fr) with the diff --git a/Sources/COpenSSL/ts_.c b/Sources/COpenSSL/ts_.c index 7175419b..118721c9 100644 --- a/Sources/COpenSSL/ts_.c +++ b/Sources/COpenSSL/ts_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/ts/ts_asn1.c */ /* * Written by Nils Larsch for the OpenSSL project 2004. diff --git a/Sources/COpenSSL/txt_db.c b/Sources/COpenSSL/txt_db.c index ae2d2e10..316bc6aa 100644 --- a/Sources/COpenSSL/txt_db.c +++ b/Sources/COpenSSL/txt_db.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/txt_db/txt_db.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/ui_.c b/Sources/COpenSSL/ui_.c index 191306b5..0313f443 100644 --- a/Sources/COpenSSL/ui_.c +++ b/Sources/COpenSSL/ui_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/ui/ui_compat.c */ /* ==================================================================== * Copyright (c) 2001-2002 The OpenSSL Project. All rights reserved. diff --git a/Sources/COpenSSL/v3_.c b/Sources/COpenSSL/v3_.c index 30a9654d..e77010c5 100644 --- a/Sources/COpenSSL/v3_.c +++ b/Sources/COpenSSL/v3_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* * Contributed to the OpenSSL Project by the American Registry for * Internet Numbers ("ARIN"). diff --git a/Sources/COpenSSL/x509_.c b/Sources/COpenSSL/x509_.c index c7183957..3e96217b 100644 --- a/Sources/COpenSSL/x509_.c +++ b/Sources/COpenSSL/x509_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/x509/x509_att.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/x509name.c b/Sources/COpenSSL/x509name.c index d1959b4c..4b78c5cc 100644 --- a/Sources/COpenSSL/x509name.c +++ b/Sources/COpenSSL/x509name.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* crypto/x509/x509name.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. diff --git a/Sources/COpenSSL/x509spki.c b/Sources/COpenSSL/x509spki.c index 8bbfa793..c89c20ac 100644 --- a/Sources/COpenSSL/x509spki.c +++ b/Sources/COpenSSL/x509spki.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* x509spki.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/COpenSSL/x_.c b/Sources/COpenSSL/x_.c index 23732cb1..337d6534 100644 --- a/Sources/COpenSSL/x_.c +++ b/Sources/COpenSSL/x_.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* x_algor.c */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project diff --git a/Sources/PerfectCZlib/deflate.c b/Sources/PerfectCZlib/deflate.c index 415adbf9..a44d5baa 100644 --- a/Sources/PerfectCZlib/deflate.c +++ b/Sources/PerfectCZlib/deflate.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* deflate.c -- compress data using the deflation algorithm * Copyright (C) 1995-2016 Jean-loup Gailly and Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h diff --git a/Sources/PerfectCZlib/gzread.c b/Sources/PerfectCZlib/gzread.c index 956b91ea..00c70bbc 100644 --- a/Sources/PerfectCZlib/gzread.c +++ b/Sources/PerfectCZlib/gzread.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* gzread.c -- zlib functions for reading gzip files * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h diff --git a/Sources/PerfectCZlib/gzwrite.c b/Sources/PerfectCZlib/gzwrite.c index a2ee573d..c39cbabf 100644 --- a/Sources/PerfectCZlib/gzwrite.c +++ b/Sources/PerfectCZlib/gzwrite.c @@ -1,3 +1,4 @@ +#pragma clang diagnostic ignored "-Wconversion" /* gzwrite.c -- zlib functions for writing gzip files * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h