Skip to content
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

Cannot compile #9

Closed
coolchip opened this issue Jun 9, 2017 · 2 comments
Closed

Cannot compile #9

coolchip opened this issue Jun 9, 2017 · 2 comments

Comments

@coolchip
Copy link

coolchip commented Jun 9, 2017

../externals/rcswitch-pi/RCSwitch.cpp: In Elementfunktion »char* RCSwitch::getCodeWordB(int, int, boolean)«:
../externals/rcswitch-pi/RCSwitch.cpp:196:12: Fehler: ungültige Umwandlung von »char« in »char*« [-fpermissive]
     return '\0';
            ^~~~
../externals/rcswitch-pi/RCSwitch.cpp: In Elementfunktion »char* RCSwitch::getCodeWordA(char*, int, boolean)«:
../externals/rcswitch-pi/RCSwitch.cpp:232:14: Fehler: ungültige Umwandlung von »char« in »char*« [-fpermissive]
       return '\0';
              ^~~~
../externals/rcswitch-pi/RCSwitch.cpp:241:14: Fehler: ungültige Umwandlung von »char« in »char*« [-fpermissive]
       return '\0';
              ^~~~
../externals/rcswitch-pi/RCSwitch.cpp: In Elementfunktion »char* RCSwitch::getCodeWordC(char, int, int, boolean)«:
../externals/rcswitch-pi/RCSwitch.cpp:269:12: Fehler: ungültige Umwandlung von »char« in »char*« [-fpermissive]
     return '\0';
            ^~~~
make: *** [rcswitch.target.mk:97: Release/obj.target/rcswitch/externals/rcswitch-pi/RCSwitch.o] Fehler 1
make: Verzeichnis „/home/sebastian/temp/node-rcswitch/build“ wird verlassen
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System Linux 4.9.30-1-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/sebastian/temp/node-rcswitch
gyp ERR! node -v v8.1.0
gyp ERR! node-gyp -v v3.6.2

@coolchip
Copy link
Author

coolchip commented Jun 9, 2017

Hey, I send you a pull request #10 . This will fix this issue.

@marvinroger
Copy link
Owner

5 years after (I'm sorry), I'm closing this as this is fixed by #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants