-
Notifications
You must be signed in to change notification settings - Fork 234
Warnings when compiling this code #310
Copy link
Copy link
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Type
Fields
Give feedbackNo fields configured for issues without a type.
When you build the code in this library there are several warnings printed
Order member initialization on(fixed by Fix warnings #302)BLELocalCharacteristicUnused variables in:(fixed by Fix warnings #302)HCIClass::tryResolveAddressHCIClass::handleEventPkt(the whole else if statement did nothing)L2CAPSignalingClass::handleSecurityData(one initialization should be inside ofBLE_TRACE)BluetoothCryptoToolbox::f5BluetoothCryptoToolbox::testAhBluetoothCryptoToolbox::testg2Uninitialized variable in(fixed by Fix warnings #302)L2CAPSignalingClass::handleSecurityDataArduinoBLE/src/utility/HCI.cpp(would be fixed by merge of fix(HCI): missing LE_Event_Mask #386)I have a PR ready for fixing most of these warnings (all except the last one) in https://github.com//pull/302, but I haven't had luck getting any traction on getting that reviewedIf someone could review that PR most of these things would be fixed.
If someone tells me what 0x0A means in that unenumerated case, I'm happy to add that to the enum as well
Additional context
Additional reports
Related
'us_timestamp_t mbed::TimerBase::read_high_resolution_us() const' is deprecated" #164