-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Clusters::ScenesManagement::ScenesServer error / SceneTableImpl.h:33:79: error: expected primary-expression before ‘;’ token #35378
Comments
There are two problems here causing this, one is that, in its .zap file, the app defines And SceneTableImp.h uses: Note that the later would still fail on an empty define but the error message would at least be more clear. Will open a PR shortly to fix both problems. |
This comes directly from the template file for chef devices. The problem should be corrected at source: connectedhomeip/examples/chef/devices/template.zap Lines 2759 to 2768 in 6144736
Thanks |
Fix for issue project-chip#35378
As mentioned here in the PR comment, turns out that waterleakdetector does not need scene. Thus I will remove the cluster from the template as well to avoid this scenario in the future for other apps that might add Scenes by mistake. |
Reproduction steps
Reproduction steps
Build Chef waterleakdetector for Linux with ScenesManagement enabled by defaut:
Error
It comes from these lines:
connectedhomeip/src/app/clusters/scenes-server/SceneTableImpl.h
Lines 32 to 36 in 5dd517c
Bug prevalence
Always
GitHub hash of the SDK that was being used
5dd517c
Platform
core
Platform Version(s)
N/A
Anything else?
Build log
chef_ScenesManagement_enabled_error.log
Workaround
Disabling ScenesManagement Clusters works as a workaround
The text was updated successfully, but these errors were encountered: