bart416@moruroa:~/ntalks$ make
g++ -g -o ntalks ntalks.cpp -Wall -O2 -DLINUX=1
ntalks.cpp:45: error: âstringâ does not name a type
ntalks.cpp:46: error: âstringâ does not name a type
ntalks.cpp:47: error: âstringâ does not name a type
ntalks.cpp:51: error: expected constructor, destructor, or type conversion before â<â token
ntalks.cpp: In function âvoid add_fd(int)â:
ntalks.cpp:67: error: âstruct userâ has no member named ânickâ
ntalks.cpp:70: error: âuser_listâ was not declared in this scope
ntalks.cpp: In function âvoid del_fd(int)â:
ntalks.cpp:76: error: âlistâ was not declared in this scope
ntalks.cpp:76: error: expected primary-expression before â>â token
ntalks.cpp:76: error: â::iteratorâ has not been declared
ntalks.cpp:76: error: expected `;' before âiâ
ntalks.cpp:77: error: âiâ was not declared in this scope
ntalks.cpp:77: error: âuser_listâ was not declared in this scope
ntalks.cpp: At global scope:
ntalks.cpp:90: error: âstringâ has not been declared
ntalks.cpp:90: error: âstringâ has not been declared
ntalks.cpp:90: error: âstringâ has not been declared
ntalks.cpp: In function âvoid add_nick(int, int, int, int)â:
ntalks.cpp:92: error: âlistâ was not declared in this scope
ntalks.cpp:92: error: expected primary-expression before â>â token
ntalks.cpp:92: error: â::iteratorâ has not been declared
ntalks.cpp:92: error: expected `;' before âiâ
ntalks.cpp:93: error: âiâ was not declared in this scope
ntalks.cpp:93: error: âuser_listâ was not declared in this scope
ntalks.cpp: At global scope:
ntalks.cpp:105: error: âstringâ was not declared in this scope
ntalks.cpp:106: error: expected â,â or â;â before â{â token
ntalks.cpp:116: error: variable or field âsend_allâ declared void
ntalks.cpp:116: error: âstringâ was not declared in this scope
ntalks.cpp:117: error: expected â,â or â;â before â{â token
ntalks.cpp:127: error: expected â,â or â...â before âmessgâ
ntalks.cpp:127: error: ISO C++ forbids declaration of âstringâ with no type
ntalks.cpp: In function âvoid send_fd(int)â:
ntalks.cpp:129: error: âmessgâ was not declared in this scope
ntalks.cpp:130: error: âfdâ was not declared in this scope
ntalks.cpp: At global scope:
ntalks.cpp:133: error: âstringâ was not declared in this scope
ntalks.cpp:134: error: expected â,â or â;â before â{â token
ntalks.cpp:147: error: âstringâ does not name a type
ntalks.cpp:162: error: âstringâ does not name a type
ntalks.cpp:178: error: âstringâ does not name a type
ntalks.cpp:192: error: expected â,â or â...â before âmessgâ
ntalks.cpp:192: error: ISO C++ forbids declaration of âstringâ with no type
ntalks.cpp: In function âvoid parse_command(int)â:
ntalks.cpp:194: error: expected `;' before âmsgâ
ntalks.cpp:194: warning: statement has no effect
ntalks.cpp:195: error: expected `;' before ânickâ
ntalks.cpp:195: warning: statement has no effect
ntalks.cpp:199: error: ânickâ was not declared in this scope
ntalks.cpp:199: error: âmsgâ was not declared in this scope
ntalks.cpp:201: error: âaddrâ was not declared in this scope
ntalks.cpp:203: error: âcomâ was not declared in this scope
ntalks.cpp:205: error: âtoâ was not declared in this scope
ntalks.cpp:207: error: âdataâ was not declared in this scope
ntalks.cpp:211: error: âmessgâ was not declared in this scope
ntalks.cpp:211: error: âsend_allâ cannot be used as a function
ntalks.cpp:215: error: âcheck_nickâ cannot be used as a function
ntalks.cpp:217: error: expected `;' before âstrâ
ntalks.cpp:217: warning: statement has no effect
ntalks.cpp:218: error: âstrâ was not declared in this scope
ntalks.cpp:218: error: âfdâ was not declared in this scope
ntalks.cpp:222: error: âfdâ was not declared in this scope
/usr/include/time.h:187: error: too few arguments to function âtime_t time(time_t*)â
ntalks.cpp:222: error: at this point in file
ntalks.cpp:223: error: âmessgâ was not declared in this scope
ntalks.cpp:223: error: âsend_allâ cannot be used as a function
ntalks.cpp:224: error: âstr_onlineâ was not declared in this scope
ntalks.cpp:224: error: âsend_allâ cannot be used as a function
ntalks.cpp:228: error: âmessgâ was not declared in this scope
ntalks.cpp:228: error: âsend_allâ cannot be used as a function
ntalks.cpp:232: error: expected `;' before âstrâ
ntalks.cpp:232: warning: statement has no effect
ntalks.cpp:233: error: âstrâ was not declared in this scope
ntalks.cpp:233: error: âfdâ was not declared in this scope
ntalks.cpp:237: error: expected `;' before âstrâ
ntalks.cpp:237: warning: statement has no effect
ntalks.cpp:238: error: âstrâ was not declared in this scope
ntalks.cpp:238: error: âfdâ was not declared in this scope
ntalks.cpp:242: error: âmessgâ was not declared in this scope
ntalks.cpp:242: error: âsend_allâ cannot be used as a function
ntalks.cpp:246: error: âmessgâ was not declared in this scope
ntalks.cpp:246: error: âsend_allâ cannot be used as a function
ntalks.cpp:253: error: expected `;' before âtmpstrâ
ntalks.cpp:253: warning: statement has no effect
ntalks.cpp:254: error: expected `;' before âstrâ
ntalks.cpp:254: warning: statement has no effect
ntalks.cpp:255: error: âstrâ was not declared in this scope
ntalks.cpp:255: error: âfdâ was not declared in this scope
ntalks.cpp:259: error: expected `;' before âtmpstrâ
ntalks.cpp:259: warning: statement has no effect
ntalks.cpp:260: error: expected `;' before âstrâ
ntalks.cpp:260: warning: statement has no effect
ntalks.cpp:261: error: âstrâ was not declared in this scope
ntalks.cpp:261: error: âfdâ was not declared in this scope
ntalks.cpp: In function âvoid signal_interrupt(int)â:
ntalks.cpp:268: error: âstringâ was not declared in this scope
ntalks.cpp:268: error: expected `;' before âmsgâ
ntalks.cpp:273: error: âmsgâ was not declared in this scope
ntalks.cpp:273: error: âsend_allâ cannot be used as a function
ntalks.cpp:274: error: âcoutâ was not declared in this scope
ntalks.cpp:274: error: âendlâ was not declared in this scope
ntalks.cpp: In function âint main(int, char**)â:
ntalks.cpp:287: error: âcoutâ was not declared in this scope
ntalks.cpp:307: error: âcoutâ was not declared in this scope
ntalks.cpp:326: error: âcerrâ was not declared in this scope
ntalks.cpp:350: error: âstr_onlineâ was not declared in this scope
ntalks.cpp:350: error: âsend_allâ cannot be used as a function
ntalks.cpp:356: error: âstringâ was not declared in this scope
ntalks.cpp:356: error: expected `;' before âmsggâ
ntalks.cpp:357: error: âmsggâ was not declared in this scope
make: *** [ntalks] Error 1
bart416@moruroa:~/ntalks$