-
-
Save henry0312/0a7146170c44231db6b7 to your computer and use it in GitHub Desktop.
epgdump cmake error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: | |
Change Dir: /Users/henry/clones/epgdump/CMakeFiles/CMakeTmp | |
Run Build Command:"/usr/bin/make" "cmTryCompileExec831571080/fast" | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec831571080.dir/build.make CMakeFiles/cmTryCompileExec831571080.dir/build | |
/usr/local/Cellar/cmake/3.0.1/bin/cmake -E cmake_progress_report /Users/henry/clones/epgdump/CMakeFiles/CMakeTmp/CMakeFiles 1 | |
Building CXX object CMakeFiles/cmTryCompileExec831571080.dir/src.cxx.o | |
/usr/bin/c++ -DICONV_SECOND_ARGUMENT_IS_CONST -o CMakeFiles/cmTryCompileExec831571080.dir/src.cxx.o -c /Users/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx | |
/Users/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx:9:5: error: no matching function for call to 'iconv' | |
iconv(conv, &in, &ilen, &out, &olen); | |
^~~~~ | |
/usr/include/iconv.h:69:8: note: candidate function not viable: no known conversion from 'const char **' to 'char **' for 2nd argument | |
size_t iconv (iconv_t /*cd*/, | |
^ | |
1 error generated. | |
make[1]: *** [CMakeFiles/cmTryCompileExec831571080.dir/src.cxx.o] Error 1 | |
make: *** [cmTryCompileExec831571080/fast] Error 2 | |
Source file was: | |
#include <iconv.h> | |
int main(){ | |
iconv_t conv = 0; | |
const char* in = 0; | |
size_t ilen = 0; | |
char* out = 0; | |
size_t olen = 0; | |
iconv(conv, &in, &ilen, &out, &olen); | |
return 0; | |
} | |
Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: | |
Change Dir: /Users/henry/clones/epgdump/CMakeFiles/CMakeTmp | |
Run Build Command:"/usr/bin/make" "cmTryCompileExec1306995426/fast" | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec1306995426.dir/build.make CMakeFiles/cmTryCompileExec1306995426.dir/build | |
/usr/local/Cellar/cmake/3.0.1/bin/cmake -E cmake_progress_report /Users/henry/clones/epgdump/CMakeFiles/CMakeTmp/CMakeFiles 1 | |
Building CXX object CMakeFiles/cmTryCompileExec1306995426.dir/src.cxx.o | |
/usr/bin/c++ -DICONV_SECOND_ARGUMENT_IS_CONST -o CMakeFiles/cmTryCompileExec1306995426.dir/src.cxx.o -c /Users/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx | |
/Users/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx:9:5: error: no matching function for call to 'iconv' | |
iconv(conv, &in, &ilen, &out, &olen); | |
^~~~~ | |
/usr/include/iconv.h:69:8: note: candidate function not viable: no known conversion from 'const char **' to 'char **' for 2nd argument | |
size_t iconv (iconv_t /*cd*/, | |
^ | |
1 error generated. | |
make[1]: *** [CMakeFiles/cmTryCompileExec1306995426.dir/src.cxx.o] Error 1 | |
make: *** [cmTryCompileExec1306995426/fast] Error 2 | |
Source file was: | |
#include <iconv.h> | |
int main(){ | |
iconv_t conv = 0; | |
const char* in = 0; | |
size_t ilen = 0; | |
char* out = 0; | |
size_t olen = 0; | |
iconv(conv, &in, &ilen, &out, &olen); | |
return 0; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: | |
Change Dir: /home/henry/clones/epgdump/CMakeFiles/CMakeTmp | |
Run Build Command:/usr/bin/make "cmTryCompileExec1372369295/fast" | |
/usr/bin/make -f CMakeFiles/cmTryCompileExec1372369295.dir/build.make CMakeFiles/cmTryCompileExec1372369295.dir/build | |
make[1]: Entering directory `/home/henry/clones/epgdump/CMakeFiles/CMakeTmp' | |
/usr/bin/cmake -E cmake_progress_report /home/henry/clones/epgdump/CMakeFiles/CMakeTmp/CMakeFiles 1 | |
Building CXX object CMakeFiles/cmTryCompileExec1372369295.dir/src.cxx.o | |
/usr/bin/c++ -DICONV_SECOND_ARGUMENT_IS_CONST -o CMakeFiles/cmTryCompileExec1372369295.dir/src.cxx.o -c /home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx | |
/home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’: | |
/home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx:9:40: error: invalid conversion from ‘const char**’ to ‘char**’ [-fpermissive] | |
iconv(conv, &in, &ilen, &out, &olen); | |
^ | |
In file included from /home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx:2:0: | |
/usr/include/iconv.h:42:15: error: initializing argument 2 of ‘size_t iconv(iconv_t, char**, size_t*, char**, size_t*)’ [-fpermissive] | |
extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | |
^ | |
make[1]: *** [CMakeFiles/cmTryCompileExec1372369295.dir/src.cxx.o] Error 1 | |
make[1]: Leaving directory `/home/henry/clones/epgdump/CMakeFiles/CMakeTmp' | |
make: *** [cmTryCompileExec1372369295/fast] Error 2 | |
Source file was: | |
#include <iconv.h> | |
int main(){ | |
iconv_t conv = 0; | |
const char* in = 0; | |
size_t ilen = 0; | |
char* out = 0; | |
size_t olen = 0; | |
iconv(conv, &in, &ilen, &out, &olen); | |
return 0; | |
} | |
Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: | |
Change Dir: /home/henry/clones/epgdump/CMakeFiles/CMakeTmp | |
Run Build Command:/usr/bin/make "cmTryCompileExec3556217419/fast" | |
/usr/bin/make -f CMakeFiles/cmTryCompileExec3556217419.dir/build.make CMakeFiles/cmTryCompileExec3556217419.dir/build | |
make[1]: Entering directory `/home/henry/clones/epgdump/CMakeFiles/CMakeTmp' | |
/usr/bin/cmake -E cmake_progress_report /home/henry/clones/epgdump/CMakeFiles/CMakeTmp/CMakeFiles 1 | |
Building CXX object CMakeFiles/cmTryCompileExec3556217419.dir/src.cxx.o | |
/usr/bin/c++ -DICONV_SECOND_ARGUMENT_IS_CONST -o CMakeFiles/cmTryCompileExec3556217419.dir/src.cxx.o -c /home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx | |
/home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’: | |
/home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx:9:40: error: invalid conversion from ‘const char**’ to ‘char**’ [-fpermissive] | |
iconv(conv, &in, &ilen, &out, &olen); | |
^ | |
In file included from /home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx:2:0: | |
/usr/include/iconv.h:42:15: error: initializing argument 2 of ‘size_t iconv(iconv_t, char**, size_t*, char**, size_t*)’ [-fpermissive] | |
extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | |
^ | |
make[1]: *** [CMakeFiles/cmTryCompileExec3556217419.dir/src.cxx.o] Error 1 | |
make[1]: Leaving directory `/home/henry/clones/epgdump/CMakeFiles/CMakeTmp' | |
make: *** [cmTryCompileExec3556217419/fast] Error 2 | |
Source file was: | |
#include <iconv.h> | |
int main(){ | |
iconv_t conv = 0; | |
const char* in = 0; | |
size_t ilen = 0; | |
char* out = 0; | |
size_t olen = 0; | |
iconv(conv, &in, &ilen, &out, &olen); | |
return 0; | |
} | |
Performing C++ SOURCE FILE Test ICONV_SECOND_ARGUMENT_IS_CONST failed with the following output: | |
Change Dir: /home/henry/clones/epgdump/CMakeFiles/CMakeTmp | |
Run Build Command:/usr/bin/make "cmTryCompileExec4176106455/fast" | |
/usr/bin/make -f CMakeFiles/cmTryCompileExec4176106455.dir/build.make CMakeFiles/cmTryCompileExec4176106455.dir/build | |
make[1]: Entering directory `/home/henry/clones/epgdump/CMakeFiles/CMakeTmp' | |
/usr/bin/cmake -E cmake_progress_report /home/henry/clones/epgdump/CMakeFiles/CMakeTmp/CMakeFiles 1 | |
Building CXX object CMakeFiles/cmTryCompileExec4176106455.dir/src.cxx.o | |
/usr/bin/c++ -DICONV_SECOND_ARGUMENT_IS_CONST -o CMakeFiles/cmTryCompileExec4176106455.dir/src.cxx.o -c /home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx | |
/home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’: | |
/home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx:9:40: error: invalid conversion from ‘const char**’ to ‘char**’ [-fpermissive] | |
iconv(conv, &in, &ilen, &out, &olen); | |
^ | |
In file included from /home/henry/clones/epgdump/CMakeFiles/CMakeTmp/src.cxx:2:0: | |
/usr/include/iconv.h:42:15: error: initializing argument 2 of ‘size_t iconv(iconv_t, char**, size_t*, char**, size_t*)’ [-fpermissive] | |
extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, | |
^ | |
make[1]: *** [CMakeFiles/cmTryCompileExec4176106455.dir/src.cxx.o] Error 1 | |
make[1]: Leaving directory `/home/henry/clones/epgdump/CMakeFiles/CMakeTmp' | |
make: *** [cmTryCompileExec4176106455/fast] Error 2 | |
Source file was: | |
#include <iconv.h> | |
int main(){ | |
iconv_t conv = 0; | |
const char* in = 0; | |
size_t ilen = 0; | |
char* out = 0; | |
size_t olen = 0; | |
iconv(conv, &in, &ilen, &out, &olen); | |
return 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment