warnings in v3.3.3
Posted: Mon Oct 04, 2021 7:49 am
I get 85 warnings when building my NANO project in v3.3.3, with most of them in wolfssl and crypto files. Is this normal?
Examples:
C:/nburn/libraries/include/crypto/wolfssl/wolfcrypt/settings.h:2274:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp]
#warning "For timing resistance / side-channel attack prevention consider using harden options"
C:/nburn/libraries/include/crypto/certgen.h:141:9: warning: 'CertGenData::m_altNameCnt' will be initialized after [-Wreorder]
int m_altNameCnt;
^~~~~~~~~~~~
C:/nburn/libraries/include/crypto/certgen.h:135:5: warning: when initialized here [-Wreorder]
CertGenData() : m_commonName(nullptr), m_yrsValid(1), m_altNameCnt(0), m_altNames(nullptr), m_certExpTime(0), m_certExpTimeSet(false){}
^~~~~~~~~~~
C:/nburn/nbrtos/include/ipv6/ipv6_interface.h:274:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare]
if (this)
^~
Examples:
C:/nburn/libraries/include/crypto/wolfssl/wolfcrypt/settings.h:2274:14: warning: #warning "For timing resistance / side-channel attack prevention consider using harden options" [-Wcpp]
#warning "For timing resistance / side-channel attack prevention consider using harden options"
C:/nburn/libraries/include/crypto/certgen.h:141:9: warning: 'CertGenData::m_altNameCnt' will be initialized after [-Wreorder]
int m_altNameCnt;
^~~~~~~~~~~~
C:/nburn/libraries/include/crypto/certgen.h:135:5: warning: when initialized here [-Wreorder]
CertGenData() : m_commonName(nullptr), m_yrsValid(1), m_altNameCnt(0), m_altNames(nullptr), m_certExpTime(0), m_certExpTimeSet(false){}
^~~~~~~~~~~
C:/nburn/nbrtos/include/ipv6/ipv6_interface.h:274:9: warning: nonnull argument 'this' compared to NULL [-Wnonnull-compare]
if (this)
^~