Code: Select all
Building src/command_classes/AssociationCommandConfiguration.cpp
/home/arch/open-zwave/cpp/src/command_classes/AssociationCommandConfiguration.cpp: In member function ‘virtual bool OpenZWave::Internal::CC::AssociationCommandConfiguration::HandleMsg(const uint8*, uint32, uint32)’:
/home/arch/open-zwave/cpp/src/command_classes/AssociationCommandConfiguration.cpp:191:85: error: ‘this’ pointer is null [-Werror=nonnull]
191 | group->ClearCommands(nodeIdx);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /home/arch/open-zwave/cpp/src/Driver.h:36,
from /home/arch/open-zwave/cpp/src/command_classes/CommandClass.h:36,
from /home/arch/open-zwave/cpp/src/command_classes/AssociationCommandConfiguration.h:31,
from /home/arch/open-zwave/cpp/src/command_classes/AssociationCommandConfiguration.cpp:29:
/home/arch/open-zwave/cpp/src/Group.h:138:30: note: in a call to non-static member function ‘bool OpenZWave::Group::ClearCommands(uint8, uint8)’
138 | bool ClearCommands(uint8 const _nodeId, uint8 const _endPoint = 0x00);
| ^~~~~~~~~~~~~
/home/arch/open-zwave/cpp/src/command_classes/AssociationCommandConfiguration.cpp:199:82: error: ‘this’ pointer is null [-Werror=nonnull]
199 | group->AddCommand(nodeIdx, length, start + 1);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/arch/open-zwave/cpp/src/Group.h:139:30: note: in a call to non-static member function ‘bool OpenZWave::Group::AddCommand(uint8, uint8, const uint8*, uint8)’
139 | bool AddCommand(uint8 const _nodeId, uint8 const _length, uint8 const* _data, uint8 const _endPoint = 0x00);
| ^~~~~~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [/home/arch/open-zwave/cpp/build/support.mk:192: /home/arch/open-zwave/.lib/AssociationCommandConfiguration.o] Error 1
make[1]: Leaving directory '/home/arch/open-zwave/cpp/build'
make: *** [Makefile:23: all] Error 2
Code: Select all
$ git clone https://github.com/OpenZWave/open-zwave.git
$ ln -s open-zwave open-zwave-read-only
$ cd open-zwave
$ make
Code: Select all
OpenZWave Version 1.6-1965-g3fff11d2 - 1.6.1965
$ uname -a
Linux archlinux 6.14.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 10 Apr 2025 18:43:59 +0000 x86_64 GNU/Linux
I'm running this Arch Linux image in a virtual machine: Arch-Linux-x86_64-basic-20250415.336224.qcow2
https://gitlab.archlinux.org/archlinux/arch-boxes/-/package_files/9199/download