Replies: 1 comment 3 replies
-
Hello, This is not your fault, I had never attempted to build Turbo Vision in Cygwin. I'll see what I can do. Cheers. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
When a try to compile running the command below in Cygwin ocurrs the erro below. Does anybody could help-me, please?
usuario@DESKTOP-A8VT3IL ~/tvision-master/build
$ make
Consolidate compiler generated dependencies of target tvision
[ 0%] Building CXX object source/CMakeFiles/tvision.dir/cmake_pch.hxx.gch
In file included from /home/usuario/tvision-master/include/tvision/tstrview.h:12,
from /home/usuario/tvision-master/include/tvision/tv.h:650,
from /home/usuario/tvision-master/include/pch.h:3,
from /home/usuario/tvision-master/build/source/CMakeFiles/tvision.dir/cmake_pch.hxx:5,
from :
/usr/include/string.h:130:10: error: conflicting declaration of ‘char* strupr(char*)’ with ‘C’ linkage
130 | char *strupr (char *);
| ^~~~~~
In file included from /home/usuario/tvision-master/include/tvision/tv.h:647,
from /home/usuario/tvision-master/include/pch.h:3,
from /home/usuario/tvision-master/build/source/CMakeFiles/tvision.dir/cmake_pch.hxx:5,
from :
/home/usuario/tvision-master/include/tvision/util.h:91:7: note: previous declaration with ‘C++’ linkage
91 | char strupr(char s) noexcept;
| ^~~~~~
In file included from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/cstdlib:75,
from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/ext/string_conversions.h:41,
from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/bits/basic_string.h:6607,
from /usr/lib/gcc/x86_64-pc-cygwin/11/include/c++/string:55,
from /home/usuario/tvision-master/include/pch.h:6,
from /home/usuario/tvision-master/build/source/CMakeFiles/tvision.dir/cmake_pch.hxx:5,
from :
/usr/include/stdlib.h:227:9: error: conflicting declaration of ‘char itoa(int, char, int)’ with ‘C’ linkage
227 | char * itoa (int, char *, int);
| ^~~~
In file included from /home/usuario/tvision-master/include/tvision/tv.h:647,
from /home/usuario/tvision-master/include/pch.h:3,
from /home/usuario/tvision-master/build/source/CMakeFiles/tvision.dir/cmake_pch.hxx:5,
from :
/home/usuario/tvision-master/include/tvision/util.h:92:7: note: previous declaration with ‘C++’ linkage
92 | char *itoa( int value, char *buffer, int radix ) noexcept;
| ^~~~
make[2]: *** [source/CMakeFiles/tvision.dir/build.make:77: source/CMakeFiles/tvision.dir/cmake_pch.hxx.gch] Error 1
make[1]: *** [CMakeFiles/Makefile2:263: source/CMakeFiles/tvision.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
Beta Was this translation helpful? Give feedback.
All reactions