Results 1 to 2 of 2
Thread: Compilation Error
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2004
I got a new code for whiteboard .This a c++ code .I got an error while compiling with gcc.
Following is the error.
gcc whiteboard.cpp whiteboard.cpp:25: conflicting types for `char*sys_errlist' /usr/include/bits/sys_errlist.h:28: previous declaration as `const char* const sys_errlist' whiteboard.cpp: In function `int main(int, char**)': whiteboard.cpp:84: invalid conversion from `int*' to `socklen_t*'
You get an error; but does it continue or die?Me & Myself just ganged up on I....... Now We all have problems..and none of Us are speaking!
bash-3.00$ uname -a
SunOS sparky 5.11 OpenSolaris-swa sun4u sparc SUNW,Ultra-Enterprise