[reSIProcate] Errors compiling last release of rutil using VS2005

Daniel Pocock daniel at pocock.com.au
Mon Sep 30 10:44:22 CDT 2013


On 30/09/13 17:09, Dario Bozzali wrote:
>
> Hi all,
>
> I have updated my repository of Resiprocate sources to headline and I
> have tried to compile using reSIProcate_8_0.sln.
>
> I'm encountering several errors while compiling due (I suppose) to
> last changes to rutil/compat.hxx.
>
> I reported below an excerpt of output from Visual Studio 2005.
>
> Can anybody give some hints?
>

I have VS Express 2010, can you let me know if VS 2005 has stdint.h and
inttypes.h?

> Thank you in advance and kind regards,
>
> Dario.
>
>  
>
>  
>
> 1>------ Build started: Project: rutil, Configuration: Debug Win32 ------
>
> 1>Compiling...
>
> 1>AresDns.cxx
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(209) : error C2146: syntax
> error : missing ';' before identifier 'UInt8'
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(209) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(209) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(210) : error C2146: syntax
> error : missing ';' before identifier 'UInt16'
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(210) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(210) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(212) : error C2146: syntax
> error : missing ';' before identifier 'Int32'
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(212) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(212) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(283) : error C2065: 'data'
> : undeclared identifier
>
> 1>c:\dev.resiprocate\main\rutil\compat.hxx(283) : error C2059: syntax
> error : ')'
>
> 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(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(198) : error
> C2146: syntax error : missing ')' before identifier 'PRIi32'
>
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(198) : error
> C2059: syntax error : ')'
>
> 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(215) : error
> C2146: syntax error : missing ')' before identifier 'PRId32'
>
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(215) : error
> C2059: syntax error : ')'
>
> 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(233) : error
> C2146: syntax error : missing ')' before identifier 'PRId64'
>
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(233) : error
> C2059: syntax error : ')'
>
> 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(251) : error
> C2146: syntax error : missing ')' before identifier 'PRIu64'
>
> 1>c:\dev.resiprocate\main\rutil\resipfaststreams.hxx(251) : error
> C2059: syntax error : ')'
>
> 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) : fatal
> error C1003: error count exceeds 100; stopping compilation
>
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20130930/0b657652/attachment.htm>


More information about the resiprocate-devel mailing list