mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
openni2: Fix remaining compile errors
In file included from ../../../ThirdParty/GL/glh/glh_obs.h:62: ../../../ThirdParty/GL/glh/glh_linear.h:371:11: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 371 | register real u; | ^~~~~~~~
This commit is contained in:
parent
e9fc4018ea
commit
3288b71c64
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ in clangStdenv.mkDerivation rec {
|
|||
sed -e "s%/etc/udev/rules.d/%$out/etc/udev/rules.d/%" \
|
||||
-e s%exit%% \
|
||||
-i Packaging/Linux/install.sh
|
||||
substituteInPlace Source/Drivers/PS1080/Sensor/Bayer.cpp \
|
||||
--replace-fail 'register ' ""
|
||||
substituteInPlace ThirdParty/GL/glh/glh_linear.h \
|
||||
--replace-fail 'register ' ""
|
||||
'';
|
||||
|
||||
makeFlags = [ "CFG=Release" "ALLOW_WARNINGS=1" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue