Error c2548 for string

error c2548 for string

error. Can't assign text to an int. string result = "zero"; // error. C2548: 'DoMore': missing default parameter for parameter 2 int DoMore(int num = 5. Package::Package(const string &sName, const string &sAddress,const error C2548: 'Package::Package': missing default parameter for. The aggregate identifier was incorrectly initialized. Aggregates are defined as: Arrays. Classes, structures, and unions that do not have.

Error c2548 for string - this

Grow Up Sniff   :) You`re funnier than me .
If everyone thought like you no Bill Gates would have ever come up !
When you have something that works you don`t look for alternatives .
It`s like making something and saying : Try others . Maybe they`ll be better .
I really don`t think so . But I won`t argue with you anymore .

I need people with wider visions to argue with me . And I`ve seen your contributions :->

PS: I alos love your haircut .Blush   :^)

Phil Harding


Two words??? That's 4 words! and a smiley!

btw, I'm sure I've seen this code written elsewhere by another author. *stir, stir* Laugh  <div><div>Since I am new to Ogre, I tried to follow the first tutorial. It worked fine, could compile and run nicely, and nothing was wrong. When I tried to do it again, because I accidently erased the code, I got a huge list of errors. <img src=
  • Compiling...
    ogre.cpp
    .\ogre.cpp(1) : warning C4129: 's' : unrecognized character escape sequence
    .\ogre.cpp(1) : warning C4129: 'i' : unrecognized character escape sequence
    .\ogre.cpp(1) : error C2059: syntax error : 'string'
    c:\ogresdk\include\OgrePlatform.h(34) : error C2143: syntax error : missing ';' before '{'
    c:\ogresdk\include\OgrePlatform.h(34) : error C2447: '{' : missing function header (old-style formal list?)
    c:\ogresdk\include\OgreColourValue.h(36) : error C2146: syntax error : missing ';' before identifier 'RGBA'
    c:\ogresdk\include\OgreColourValue.h(36) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreColourValue.h(36) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreColourValue.h(75) : error C2146: syntax error : missing ';' before identifier 'getAsRGBA'
    c:\ogresdk\include\OgreColourValue.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreColourValue.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreColourValue.h(75) : warning C4183: 'getAsRGBA': missing return type; assumed to be a member function returning 'int'
    c:\ogresdk\include\OgreColourValue.h(90) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreColourValue.h(90) : error C2146: syntax error : missing ',' before identifier 'val'
    c:\ogresdk\include\OgreHardwareVertexBuffer.h(237) : error C2061: syntax error : identifier 'RGBA'
    c:\ogresdk\include\OgreHardwareVertexBuffer.h(239) : error C2065: 'pElem' : undeclared identifier
    c:\ogresdk\include\OgreHardwareVertexBuffer.h(239) : error C2061: syntax error : identifier 'RGBA'
    c:\ogresdk\include\OgreRenderQueue.h(85) : error C2065: 'uint8' : undeclared identifier
    c:\ogresdk\include\OgreRenderQueue.h(87) : error C3203: 'map' : unspecialized class template can't be used as a template argument for template parameter 'T', expected a real type
    c:\ogresdk\include\OgreRenderQueue.h(87) : error C2955: 'std::map' : use of class template requires template argument list
    C:\Program Files\Microsoft Visual Studio 9.0\VC\include\map(77) : see declaration of 'std::map'
    c:\ogresdk\include\OgreRenderQueue.h(115) : error C2061: syntax error : identifier 'uint8'
    c:\ogresdk\include\OgreRenderQueue.h(121) : error C2146: syntax error : missing ';' before identifier 'mDefaultQueueGroup'
    c:\ogresdk\include\OgreRenderQueue.h(121) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreRenderQueue.h(121) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreRenderQueue.h(145) : error C2061: syntax error : identifier 'uint8'
    c:\ogresdk\include\OgreRenderQueue.h(169) : error C2061: syntax error : identifier 'uint8'
    c:\ogresdk\include\OgreRenderQueue.h(188) : error C2061: syntax error : identifier 'uint8'
    c:\ogresdk\include\OgreRenderQueue.h(188) : error C2535: 'void Ogre::RenderQueue::addRenderable(Ogre::Renderable *)' : member function already defined or declared
    c:\ogresdk\include\OgreRenderQueue.h(169) : see declaration of 'Ogre::RenderQueue::addRenderable'
    c:\ogresdk\include\OgreRenderQueue.h(202) : error C2535: 'void Ogre::RenderQueue::addRenderable(Ogre::Renderable *)' : member function already defined or declared
    c:\ogresdk\include\OgreRenderQueue.h(169) : see declaration of 'Ogre::RenderQueue::addRenderable'
    c:\ogresdk\include\OgreRenderQueue.h(207) : error C2146: syntax error : missing ';' before identifier 'getDefaultQueueGroup'
    c:\ogresdk\include\OgreRenderQueue.h(207) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreRenderQueue.h(207) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreRenderQueue.h(207) : warning C4183: 'getDefaultQueueGroup': missing return type; assumed to be a member function returning 'int'
    c:\ogresdk\include\OgreRenderQueue.h(223) : error C2061: syntax error : identifier 'uint8'
    c:\ogresdk\include\OgreMovableObject.h(119) : error C2146: syntax error : missing ';' before identifier 'mRenderQueueID'
    c:\ogresdk\include\OgreMovableObject.h(119) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreMovableObject.h(119) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreMovableObject.h(319) : error C2061: syntax error : identifier 'uint8'
    c:\ogresdk\include\OgreMovableObject.h(322) : error C2146: syntax error : missing ';' before identifier 'getRenderQueueGroup'
    c:\ogresdk\include\OgreMovableObject.h(322) : error C2433: 'Ogre::MovableObject::uint8' : 'virtual' not permitted on data declarations
    c:\ogresdk\include\OgreMovableObject.h(322) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreMovableObject.h(322) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreMovableObject.h(322) : warning C4183: 'getRenderQueueGroup': missing return type; assumed to be a member function returning 'int'
    c:\ogresdk\include\OgreBillboardSet.h(757) : error C2061: syntax error : identifier 'uint16'
    c:\ogresdk\include\OgreBillboardSet.h(780) : error C2061: syntax error : identifier 'uint16'
    c:\ogresdk\include\OgrePixelFormat.h(419) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgrePixelFormat.h(419) : error C2146: syntax error : missing ',' before identifier 'r'
    c:\ogresdk\include\OgrePixelFormat.h(443) : error C2061: syntax error : identifier 'uint8'
    c:\ogresdk\include\OgreEntity.h(350) : error C2061: syntax error : identifier 'uint8'
    c:\ogresdk\include\OgreManualObject.h(227) : error C2061: syntax error : identifier 'uint16'
    c:\ogresdk\include\OgreManualObject.h(236) : error C2061: syntax error : identifier 'uint16'
    c:\ogresdk\include\OgreManualObject.h(245) : error C2061: syntax error : identifier 'uint16'
    c:\ogresdk\include\OgreManualObject.h(455) : error C2143: syntax error : missing ';' before '*'
    c:\ogresdk\include\OgreManualObject.h(455) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreManualObject.h(455) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreSerializer.h(71) : error C2061: syntax error : identifier 'uint16'
    c:\ogresdk\include\OgreSerializer.h(75) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreSerializer.h(75) : error C2143: syntax error : missing ',' before '*'
    c:\ogresdk\include\OgreSerializer.h(90) : error C2061: syntax error : identifier 'uint16'
    c:\ogresdk\include\OgreUTFString.h(186) : error C2146: syntax error : missing ';' before identifier 'code_point'
    c:\ogresdk\include\OgreUTFString.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreUTFString.h(186) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreUTFString.h(189) : error C2146: syntax error : missing ';' before identifier 'value_type'
    c:\ogresdk\include\OgreUTFString.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreUTFString.h(189) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreUTFString.h(207) : error C2065: 'value_type' : undeclared identifier
    c:\ogresdk\include\OgreUTFString.h(207) : error C2955: 'std::iterator' : use of class template requires template argument list
    C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility(688) : see declaration of 'std::iterator'
    c:\ogresdk\include\OgreUTFString.h(961) : error C2535: 'void Ogre::UTFString::push_back(Ogre::UTFString::unicode_char)' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(945) : see declaration of 'Ogre::UTFString::push_back'
    c:\ogresdk\include\OgreUTFString.h(1320) : error C2535: 'Ogre::UTFString &Ogre::UTFString::append(Ogre::UTFString::size_type,Ogre::UTFString::code_point)' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1288) : see declaration of 'Ogre::UTFString::append'
    c:\ogresdk\include\OgreUTFString.h(1403) : error C2535: 'Ogre::UTFString &Ogre::UTFString::insert(Ogre::UTFString::size_type,Ogre::UTFString::size_type,Ogre::UTFString::code_point)' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1386) : see declaration of 'Ogre::UTFString::insert'
    c:\ogresdk\include\OgreUTFString.h(1431) : error C2535: 'void Ogre::UTFString::insert(Ogre::UTFString::iterator,Ogre::UTFString::size_type,const Ogre::UTFString::code_point &)' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1417) : see declaration of 'Ogre::UTFString::insert'
    c:\ogresdk\include\OgreUTFString.h(1602) : error C2572: 'Ogre::UTFString::find' : redefinition of default parameter : parameter 2
    c:\ogresdk\include\OgreUTFString.h(1590) : see declaration of 'Ogre::UTFString::find'
    c:\ogresdk\include\OgreUTFString.h(1602) : error C2535: 'Ogre::UTFString::size_type Ogre::UTFString::find(Ogre::UTFString::code_point,Ogre::UTFString::size_type) const' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1590) : see declaration of 'Ogre::UTFString::find'
    c:\ogresdk\include\OgreUTFString.h(1602) : error C2548: 'Ogre::UTFString::find' : missing default parameter for parameter 2
    c:\ogresdk\include\OgreUTFString.h(1644) : error C2535: 'Ogre::UTFString::size_type Ogre::UTFString::rfind(Ogre::UTFString::code_point,Ogre::UTFString::size_type) const' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1634) : see declaration of 'Ogre::UTFString::rfind'
    c:\ogresdk\include\OgreUTFString.h(1684) : error C2572: 'Ogre::UTFString::find_first_of' : redefinition of default parameter : parameter 2
    c:\ogresdk\include\OgreUTFString.h(1668) : see declaration of 'Ogre::UTFString::find_first_of'
    c:\ogresdk\include\OgreUTFString.h(1684) : error C2535: 'Ogre::UTFString::size_type Ogre::UTFString::find_first_of(Ogre::UTFString::code_point,Ogre::UTFString::size_type) const' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1668) : see declaration of 'Ogre::UTFString::find_first_of'
    c:\ogresdk\include\OgreUTFString.h(1684) : error C2548: 'Ogre::UTFString::find_first_of' : missing default parameter for parameter 2
    c:\ogresdk\include\OgreUTFString.h(1719) : error C2572: 'Ogre::UTFString::find_first_not_of' : redefinition of default parameter : parameter 2
    c:\ogresdk\include\OgreUTFString.h(1703) : see declaration of 'Ogre::UTFString::find_first_not_of'
    c:\ogresdk\include\OgreUTFString.h(1719) : error C2535: 'Ogre::UTFString::size_type Ogre::UTFString::find_first_not_of(Ogre::UTFString::code_point,Ogre::UTFString::size_type) const' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1703) : see declaration of 'Ogre::UTFString::find_first_not_of'
    c:\ogresdk\include\OgreUTFString.h(1719) : error C2548: 'Ogre::UTFString::find_first_not_of' : missing default parameter for parameter 2
    c:\ogresdk\include\OgreUTFString.h(1762) : error C2572: 'Ogre::UTFString::find_last_of' : redefinition of default parameter : parameter 2
    c:\ogresdk\include\OgreUTFString.h(1746) : see declaration of 'Ogre::UTFString::find_last_of'
    c:\ogresdk\include\OgreUTFString.h(1762) : error C2535: 'Ogre::UTFString::size_type Ogre::UTFString::find_last_of(Ogre::UTFString::code_point,Ogre::UTFString::size_type) const' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1746) : see declaration of 'Ogre::UTFString::find_last_of'
    c:\ogresdk\include\OgreUTFString.h(1762) : error C2548: 'Ogre::UTFString::find_last_of' : missing default parameter for parameter 2
    c:\ogresdk\include\OgreUTFString.h(1805) : error C2572: 'Ogre::UTFString::find_last_not_of' : redefinition of default parameter : parameter 2
    c:\ogresdk\include\OgreUTFString.h(1789) : see declaration of 'Ogre::UTFString::find_last_not_of'
    c:\ogresdk\include\OgreUTFString.h(1805) : error C2535: 'Ogre::UTFString::size_type Ogre::UTFString::find_last_not_of(Ogre::UTFString::code_point,Ogre::UTFString::size_type) const' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1789) : see declaration of 'Ogre::UTFString::find_last_not_of'
    c:\ogresdk\include\OgreUTFString.h(1805) : error C2548: 'Ogre::UTFString::find_last_not_of' : missing default parameter for parameter 2
    c:\ogresdk\include\OgreUTFString.h(1862) : error C2535: 'Ogre::UTFString &Ogre::UTFString::operator =(Ogre::UTFString::code_point)' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1845) : see declaration of 'Ogre::UTFString::operator ='
    c:\ogresdk\include\OgreUTFString.h(1919) : error C2535: 'size_t Ogre::UTFString::_utf16_char_length(Ogre::UTFString::code_point)' : member function already defined or declared
    c:\ogresdk\include\OgreUTFString.h(1913) : see declaration of 'Ogre::UTFString::_utf16_char_length'
    c:\ogresdk\include\OgreUTFString.h(210) : error C2512: 'std::iterator' : no appropriate default constructor available
    c:\ogresdk\include\OgreUTFString.h(328) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(343) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(357) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(370) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(378) : error C2440: 'return' : cannot convert from 'int' to '_Ty &'
    c:\ogresdk\include\OgreUTFString.h(384) : error C2593: 'operator +=' is ambiguous
    c:\ogresdk\include\OgreUTFString.h(355): could be 'Ogre::UTFString::_fwd_iterator &Ogre::UTFString::_fwd_iterator::operator +=(_Diff)'
    c:\ogresdk\include\OgreUTFString.h(350): or 'Ogre::UTFString::_fwd_iterator &Ogre::UTFString::_fwd_iterator::operator +=(Ogre::UTFString::size_type)'
    while trying to match the argument list '(Ogre::UTFString::_fwd_iterator, Ogre::UTFString::size_type)'
    c:\ogresdk\include\OgreUTFString.h(462) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(477) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(491) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(504) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(512) : warning C4172: returning address of local variable or temporary
    c:\ogresdk\include\OgreUTFString.h(518) : error C2593: 'operator +=' is ambiguous
    c:\ogresdk\include\OgreUTFString.h(489): could be 'Ogre::UTFString::_const_fwd_iterator &Ogre::UTFString::_const_fwd_iterator::operator +=(_Diff)'
    c:\ogresdk\include\OgreUTFString.h(484): or 'Ogre::UTFString::_const_fwd_iterator &Ogre::UTFString::_const_fwd_iterator::operator +=(Ogre::UTFString::size_type)'
    while trying to match the argument list '(Ogre::UTFString::_const_fwd_iterator, Ogre::UTFString::size_type)'
    c:\ogresdk\include\OgreUTFString.h(607) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(622) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(636) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(649) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(657) : error C2440: 'return' : cannot convert from 'int' to '_Ty &'
    c:\ogresdk\include\OgreUTFString.h(663) : error C2593: 'operator -=' is ambiguous
    c:\ogresdk\include\OgreUTFString.h(647): could be 'Ogre::UTFString::_rev_iterator &Ogre::UTFString::_rev_iterator::operator -=(_Diff)'
    c:\ogresdk\include\OgreUTFString.h(642): or 'Ogre::UTFString::_rev_iterator &Ogre::UTFString::_rev_iterator::operator -=(Ogre::UTFString::size_type)'
    while trying to match the argument list '(Ogre::UTFString::_rev_iterator, Ogre::UTFString::size_type)'
    c:\ogresdk\include\OgreUTFString.h(718) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(733) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(747) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(760) : error C2675: unary '-' : '_Diff' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\ogresdk\include\OgreUTFString.h(768) : warning C4172: returning address of local variable or temporary
    c:\ogresdk\include\OgreUTFString.h(774) : error C2593: 'operator -=' is ambiguous
    c:\ogresdk\include\OgreUTFString.h(758): could be 'Ogre::UTFString::_const_rev_iterator &Ogre::UTFString::_const_rev_iterator::operator -=(_Diff)'
    c:\ogresdk\include\OgreUTFString.h(753): or 'Ogre::UTFString::_const_rev_iterator &Ogre::UTFString::_const_rev_iterator::operator -=(Ogre::UTFString::size_type)'
    while trying to match the argument list '(Ogre::UTFString::_const_rev_iterator, Ogre::UTFString::size_type)'
    c:\ogresdk\include\OgreUTFString.h(972) : error C2582: 'operator =' function is unavailable in 'Ogre::UTFString::_const_fwd_iterator'
    c:\ogresdk\include\OgreUTFString.h(1497) : error C2440: 'initializing' : cannot convert from 'Ogre::UTFString::_fwd_iterator' to 'Ogre::UTFString::size_type'
    No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
    c:\ogresdk\include\OgreUTFString.h(1498) : error C2440: 'initializing' : cannot convert from 'Ogre::UTFString::_fwd_iterator' to 'Ogre::UTFString::size_type'
    No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
    c:\ogresdk\include\OgreUTFString.h(1510) : error C2440: 'initializing' : cannot convert from 'Ogre::UTFString::_fwd_iterator' to 'Ogre::UTFString::size_type'
    No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
    c:\ogresdk\include\OgreUTFString.h(1511) : error C2440: 'initializing' : cannot convert from 'Ogre::UTFString::_fwd_iterator' to 'Ogre::UTFString::size_type'
    No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
    c:\ogresdk\include\OgreUTFString.h(2249) : error C2582: 'operator =' function is unavailable in 'Ogre::UTFString::_const_fwd_iterator'
    c:\ogresdk\include\OgreUTFString.h(2263) : error C2582: 'operator =' function is unavailable in 'Ogre::UTFString::_const_fwd_iterator'
    c:\ogresdk\include\OgreUTFString.h(2283) : error C2582: 'operator =' function is unavailable in 'Ogre::UTFString::_const_fwd_iterator'
    c:\ogresdk\include\OgreUTFString.h(2311) : error C2084: function 'Ogre::UTFString Ogre::operator +(const Ogre::UTFString &,Ogre::UTFString::code_point)' already has a body
    c:\ogresdk\include\OgreUTFString.h(2307) : see previous definition of '+'
    c:\ogresdk\include\OgreUTFString.h(2329) : error C2084: function 'Ogre::UTFString Ogre::operator +(Ogre::UTFString::code_point,const Ogre::UTFString &)' already has a body
    c:\ogresdk\include\OgreUTFString.h(2325) : see previous definition of '+'
    c:\ogresdk\include\OgreBillboard.h(68) : error C2146: syntax error : missing ';' before identifier 'mTexcoordIndex'
    c:\ogresdk\include\OgreBillboard.h(68) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreBillboard.h(68) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreBillboard.h(185) : error C2061: syntax error : identifier 'uint16'
    c:\ogresdk\include\OgreBillboard.h(192) : error C2146: syntax error : missing ';' before identifier 'getTexcoordIndex'
    c:\ogresdk\include\OgreBillboard.h(192) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreBillboard.h(192) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:\ogresdk\include\OgreBillboard.h(192) : warning C4183: 'getTexcoordIndex': missing return type; assumed to be a member function returning 'int'
    c:\ogresdk\include\OgreBillboard.h(192) : error C2065: 'mTexcoordIndex' : undeclared identifier
    c:\ogresdk\include\OgreParticleSystem.h(539) : error C2061: syntax error : identifier 'uint8'
    c:\ogresdk\include\OgreParticleSystem.h(539) : fatal error C1003: error count exceeds 100; stopping compilation
I have no idea why this is happening, I didn't change a thing to the code from the first time I did it. If it is any help, here is my code-

Code: Select all

Thanks. ;)">

-- Rocky Dean Pulley
I hope you first read the thread to see what others don`t understand and the advice given .
I did not ignore it but I can`t install vc6 just to see that it has problems with wide predefined params .
I did not insult anyone that doesn`t deserve it and wasn`t just moments away from asking dumb questions .
To be a coder you don`t just have to create an account here you have to learn a lot . You can`t ask any minor thing everytime . Very good books are out there just waiting to be read and to enlighten the reader .

And I won`t remove that comment . I`ll remove the rate me stuff . I don`t need any ratings . I just wanted to share some usefull code . If you appreciate that or not it`s your problem not mine .

I was planning on sharing a huge library I worked on but I won`t anymore . What`s the point . To few to actually appreciate and enjoy it .

Thanks for the comment .


I am the MIGHTY KEEPER of the BOOK OF KNOWLEDGE . Contact me to get your copy .
I understand your concerns, I'm just giving this advice because according to your bio you are looking for consulting gigs as well. If you want to get consulting gigs from here that is the point of posting your stuff, and you need to be truly professional. Working as a consultant you will constantly come across people who know absolutely nothing about the technologies they are working with and ask some of the simplest questions about the subjects. You won't get anywhere if you are going to insult these people, even if they do deserve it as you say. The way you present yourself in these forums is how people will percieve you and will affect you getting these consulting jobs as well. That's just my point, I wasn't trying to ream you for the attitude or anything.

-- Rocky Dean Pulley
I will try your String Class and post a review here, as these days i am trying my hand in developing COM Dll, so there is always need of Robust String Class for handlling internal data.

till now i am using Class, and tried my hand in old too,but none statisfied my needs.


if it really worth you will got my Fiver else i will not vote, i have a simple motto Vote 5 or nothing

thanks for providing it


"I Think this Will Help"
<h5
 alok gupta="" <br=""> visit me at http://www.thisisalok.tk

MString : http://mstring.sourceforge.net/start.html (NOT UNICODE)
UString : http://sourceforge.net/projects/ustring/ (UNICODE)

Thanks ALOTS TomKat !!!

Kochise

In Code we trust !
I really don`t understand your comment . Do you by any chance imply that I have stolen the code or anything ? Please reply . Sniff   :^)

And then in your great wisdom check out codeproject.com and see how many articles treat the same thing but in a totally different manner . I don`t think the code you provided looks like mine , does what mine does and I honestly don`t give a f**k . I`m not even going to download it to check it out .

If you don`t like mine delete it , don`t use it but don`t make comments that are totally inappropriate .

I think I`ve sorted this one out . I`m gonna stop writing here before I really loose it !
Suspicious  :laugh:
And yet you missed the point entirely. 'Nuff said.

Jeremy Falcon
"When you have something that works you don`t look for alternatives. It`s like making something and saying : Try otherserror c2548 for string. Maybe they`ll be better. I really don`t think so."

Once a day, I tried a bicycle and found nothing can beat that fabulous vehicle.

"I need people with wider visions to argue with me."

I rode along the way, and some people riding horses or driving cars told me to try something else to go ahead else fashioned. Horses fits better !

"But I won`t argue with you anymore."

You're definitively a pedestrian !

Kochise

In Code we trust !
:^)">

And then in your great wisdom check out codeproject.com and see how many articles treat the same thing but in a totally different manner. I don`t think the code you provided looks like mineerror c2548 for string, does what mine does and I honestly don`t give a f**k. I`m not even going to download it to check it out .

If you don`t like mine delete itdon`t use it but don`t make comments that are totally inappropriate .

I think I`ve sorted this one out. I`m gonna stop writing here before I really loose it !
Suspicious <div><div><tr><td><table><tr><td><table><tr><td><table><tr><td colspan=Grow Up Sniff <div><h2> <span>Installation Errors with macOS Big Sur</span> <span>#135</span> <i>error c2548 for string</i> </h2><div><p>I was able to compile my code by changing the script on line 114. As it stands now, it is:</p><p>Changing it to:</p><p>works properly. On my machine it seems like the first version does <i>error c2548 for string</i> recognize the string to replace, <i>error c2548 for string</i>, so is never added in the C file. This may be due to the character being interpreted differently now on Mac, but I am not sure of what exactly could have changed.</p><p>I am not submitting this as a PR as I am not sure it is a standard fix for all <a href=vbscript run-time errors, it simply worked on my machine.

I also am finding strange behavior once compiled in two ways:
1 - lines that are longer than the limit specified for are broken up in a way that is not correct in python and then the import fails due to indentation mistakes. I fixed this by increasing the value, but of course that is a unique fix for this case. This may fall into the same issue as above, as tabs may be somehow handled differently now.
2- the precision of the Fortran code is not maintained, with functions such as truncating precision. I have not looked into this carefully, but this is not an issue I have run into in the past. I think this is unlikely to be related to f90wrap and instead is a Fortran issue with the recent updates.

I have not run into these issues when using Ubuntu 20.04, GCC 9, and Python 3.8, error c2548 for string they seem to be unique to Mac and newer versions of Python + GCC.