Found this thread, and it does not appear to have been resolved. copy_to_array is used 3 times: ./resource/src/OCRepresentation.cpp: copy_to_array(arr[i], array, i); ./resource/src/OCRepresentation.cpp: copy_to_array(arr[i][j], array, i*dimensions[1] + j); ./resource/src/OCRepresentation.cpp: copy_to_array(arr[i][j][k], array,
All in: struct get_payload_array: boost::static_visitor<> and has 10 prototypes ./resource/src/OCRepresentation.cpp: void copy_to_array(T item, void* array, size_t pos) ./resource/src/OCRepresentation.cpp: void get_payload_array::copy_to_array(int item, void* array, size_t pos) ./resource/src/OCRepresentation.cpp: void get_payload_array::copy_to_array(std::_Bit_reference br, void* array, size_t pos) ./resource/src/OCRepresentation.cpp: void get_payload_array::copy_to_array(std::string item, void* array, size_t pos) ./resource/src/OCRepresentation.cpp: void get_payload_array::copy_to_array(std::string& item, void* array, size_t pos) ./resource/src/OCRepresentation.cpp: void get_payload_array::copy_to_array(const std::string& item, void* array, size_t pos) ./resource/src/OCRepresentation.cpp: void get_payload_array::copy_to_array(OCByteString item, void *array, size_t pos) ./resource/src/OCRepresentation.cpp: void get_payload_array::copy_to_array(OCByteString &item, void *array, size_t pos) ./resource/src/OCRepresentation.cpp: void get_payload_array::copy_to_array(const OCByteString &item, void *array, size_t pos) ./resource/src/OCRepresentation.cpp: void get_payload_array::copy_to_array(OC::OCRepresentation item, void* array, size_t pos) My C++ skills are not good enough to see if anyone is using it. Commenting it out seems to build and run samples fine, but might cause a runtime error that I have not activated. Apparently std::_Bit_reference exists https://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/a00697.html Thanks, Mike Finch NOTICE: All information in and attached to the e-mails below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message electronic, paper, or otherwise. By transmitting documents via this email: Users, Customers, Suppliers and Vendors collectively acknowledge and agree the transmittal of information via email is voluntary, is offered as a convenience, and is not a secured method of communication; Not to transmit any payment information E.G. credit card, debit card, checking account, wire transfer information, passwords, or sensitive and personal information E.G. Driver's license, DOB, social security, or any other information the user wishes to remain confidential; To transmit only non-confidential information such as plans, pictures and drawings and to assume all risk and liability for and indemnify Lowe's from any claims, losses or damages that may arise from the transmittal of documents or including non-confidential information in the body of an email transmittal. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170112/bcf70165/attachment.html>
