Closed MarleenDev closed 4 months ago
struct was added to nimble/host/include/host/ble_gatt.h
Hi @MarleenDev , thanks for pointing this. Please try attached patch which should fix the issue. 0001-update-variable-name-to-avoid-using-keyword.txt
Changes merged, closing
In C++, namespace is a reserved keyword, and cannot be used to name variables. In code introduced in commit 0273e0e83, a struct is introduces which has a member called namespace. I noticed the problem when trying to compile the esp-matter light example. This uses the esp-idf repo, which recently updated the nimble submodule to include the commit 0273e0e83, resulting in the example no longer building.