< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Hi Daniel, The patch is not sufficient, there are still errors for other types (see below). Maybe we could use the files that are available in http://msinttypes.googlecode.com/svn/trunk/. I downloaded them and I tried to include in compat.hxx, but there are still errors. I’ll provide more details as soon as possible. Ragards, Dario. 1>------ Build started: Project: rutil, Configuration: Debug Win32 ------ 1>Compiling... 1>AresDns.cxx 1>c:\dev.resiprocate\main\rutil\compat.hxx(294) : warning C4244: '=' : conversion from 'const UInt64' to 'UInt8', possible loss of data 1>c:\dev.resiprocate\main\rutil\compat.hxx(295) : warning C4244: '=' : conversion from 'const UInt64' to 'UInt8', possible loss of data 1>c:\dev.resiprocate\main\rutil\compat.hxx(296) : warning C4244: '=' : conversion from 'const UInt64' to 'UInt8', possible loss of data 1>c:\dev.resiprocate\main\rutil\compat.hxx(297) : warning C4244: '=' : conversion from 'const UInt64' to 'UInt8', possible loss of data 1>c:\dev.resiprocate\main\rutil\compat.hxx(298) : warning C4244: '=' : conversion from 'const UInt64' to 'UInt8', possible loss of data 1>c:\dev.resiprocate\main\rutil\compat.hxx(299) : warning C4244: '=' : conversion from 'const UInt64' to 'UInt8', possible loss of data 1>c:\dev.resiprocate\main\rutil\compat.hxx(300) : warning C4244: '=' : conversion from 'const UInt64' to 'UInt8', possible loss of data 1>c:\dev.resiprocate\main\rutil\compat.hxx(301) : warning C4244: '=' : conversion from 'const UInt64' to 'UInt8', possible loss of data 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(158) : error C2061: syntax error : identifier 'int8_t' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(159) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(159) : error C2333: 'resip::ResipFastOStream::operator <<' : error in function declaration; skipping function body 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(170) : error C2061: syntax error : identifier 'int16_t' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(172) : error C2059: syntax error : 'this' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(172) : error C2238: unexpected token(s) preceding ';' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(173) : error C2059: syntax error : 'return' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(173) : error C2238: unexpected token(s) preceding ';' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : error C2512: 'resip::ResipFastOStream' : no appropriate default constructor available 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(99) : error C2614: 'resip::ResipFastOStream' : illegal member initialization: 'buf_' is not a base or member 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(116) : error C2065: 'buf_' : undeclared identifier 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(154) : error C2593: 'operator <<' is ambiguous 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)' 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)' 1> while trying to match the argument list '(resip::ResipFastOStream, int32_t)' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(166) : error C2593: 'operator <<' is ambiguous 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(164): could be 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(uint8_t)' 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(151): or 'resip::ResipFastOStream &resip::ResipFastOStream::operator <<(bool)' 1> while trying to match the argument list '(resip::ResipFastOStream, uint32_t)' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(179) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(179) : error C2803: 'operator <<' must have at least one formal parameter of class type 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(179) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(180) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(181) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(191) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(192) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(192) : error C2803: 'operator <<' must have at least one formal parameter of class type 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(192) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(195) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(200) : error C2227: left of '->writebuf' must point to class/struct/union/generic type 1> type is ''unknown-type'' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(202) : error C2065: 'good_' : undeclared identifier 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(205) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(208) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(208) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(208) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(209) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(209) : error C2803: 'operator <<' must have at least one formal parameter of class type 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(209) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(212) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(217) : error C2227: left of '->writebuf' must point to class/struct/union/generic type 1> type is ''unknown-type'' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(222) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(226) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(226) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(226) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(227) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(227) : error C2803: 'operator <<' must have at least one formal parameter of class type 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(227) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(230) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(235) : error C2227: left of '->writebuf' must point to class/struct/union/generic type 1> type is ''unknown-type'' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(240) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(243) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(243) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(243) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(244) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(244) : error C2803: 'operator <<' must have at least one formal parameter of class type 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(244) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(247) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(253) : error C2227: left of '->writebuf' must point to class/struct/union/generic type 1> type is ''unknown-type'' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(258) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(281) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(281) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(281) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(282) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(282) : error C2803: 'operator <<' must have at least one formal parameter of class type 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(282) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(283) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(285) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(288) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(288) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(288) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(289) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(289) : error C2803: 'operator <<' must have at least one formal parameter of class type 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(289) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(292) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(312) : error C2227: left of '->writebuf' must point to class/struct/union/generic type 1> type is ''unknown-type'' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(317) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(320) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(320) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(320) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(321) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(321) : error C2803: 'operator <<' must have at least one formal parameter of class type 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(321) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(324) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(330) : error C2227: left of '->writebuf' must point to class/struct/union/generic type 1> type is ''unknown-type'' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(335) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(338) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(342) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(342) : error C2803: 'operator <<' must have at least one formal parameter of class type 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(342) : error C2805: binary 'operator <<' has too few parameters 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(345) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(350) : error C2227: left of '->writebuf' must point to class/struct/union/generic type 1> type is ''unknown-type'' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(359) : error C2673: 'resip::operator <<' : global functions do not have 'this' pointers 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(362) : error C2059: syntax error : 'private' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2433: 'resip::ResipFastOStream' : 'inline' not permitted on data declarations 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2065: 'ostr' : undeclared identifier 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(367) : error C2059: syntax error : 'const' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(368) : error C2143: syntax error : missing ';' before '{' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(368) : error C2447: '{' : missing function header (old-style formal list?) 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C2433: 'resip::ResipFastOStream' : 'inline' not permitted on data declarations 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(374) : error C2062: type 'char' unexpected 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(375) : error C2143: syntax error : missing ';' before '{' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(375) : error C2447: '{' : missing function header (old-style formal list?) 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C2433: 'resip::ResipFastOStream' : 'inline' not permitted on data declarations 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(381) : error C2062: type 'unsigned char' unexpected 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(382) : error C2143: syntax error : missing ';' before '{' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(382) : error C2447: '{' : missing function header (old-style formal list?) 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C2433: 'resip::ResipFastOStream' : 'inline' not permitted on data declarations 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C2371: 'resip::ResipFastOStream' : redefinition; different basic types 1> c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(178) : see declaration of 'resip::ResipFastOStream' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(388) : error C2059: syntax error : 'const' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(389) : error C2143: syntax error : missing ';' before '{' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(389) : error C2447: '{' : missing function header (old-style formal list?) 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(395) : error C2143: syntax error : missing ';' before '&' 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(395) : fatal error C1003: error count exceeds 100; stopping compilation From: Daniel Pocock [mailto:daniel@xxxxxxxxxxxxx]
|