In file included from /in/compile/ex2.cpp:1:0:
/in/ex2.h: In function 'int hex2decLinkedList(Node*)':
/in/ex2.h:29:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == 'A'){
^~~
/in/ex2.h:32:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == 'B'){
^~~
/in/ex2.h:35:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == 'C'){
^~~
/in/ex2.h:38:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == 'D'){
^~~
/in/ex2.h:41:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == 'E'){
^~~
/in/ex2.h:44:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == 'F'){
^~~
/in/ex2.h:47:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == '0'){
^~~
/in/ex2.h:50:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == '1'){
^~~
/in/ex2.h:53:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == '2'){
^~~
/in/ex2.h:56:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (T == '3'){
^~~
/in/ex2.h:58:18: error: invalid conversion from 'char' to 'Node*' [-fpermissive]
}if (T = '4'){
^~~
/in/ex2.h:58:16: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
}if (T = '4'){
~~^~~~~
/in/ex2.h:60:18: error: invalid conversion from 'char' to 'Node*' [-fpermissive]
}if (T = '5'){
^~~
/in/ex2.h:60:16: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
}if (T = '5'){
~~^~~~~
/in/ex2.h:63:17: error: invalid conversion from 'char' to 'Node*' [-fpermissive]
if (T = '6'){
^~~
/in/ex2.h:63:15: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
if (T = '6'){
~~^~~~~
/in/ex2.h:66:17: error: invalid conversion from 'char' to 'Node*' [-fpermissive]
if (T = '7'){
^~~
/in/ex2.h:66:15: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
if (T = '7'){
~~^~~~~
/in/ex2.h:69:17: error: invalid conversion from 'char' to 'Node*' [-fpermissive]
if (T = '8'){
^~~
/in/ex2.h:69:15: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
if (T = '8'){
~~^~~~~
/in/ex2.h:72:17: error: invalid conversion from 'char' to 'Node*' [-fpermissive]
if (T = '9'){
^~~
/in/ex2.h:72:15: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
if (T = '9'){
~~^~~~~
/in/ex2.h:80:6: error: no return statement in function returning non-void [-Werror=return-type]
}
^
cc1plus: all warnings being treated as errors