[Bf-committers] Re: [bf-commiters] source/gameengine/Ketsji/BL_Texture.cpp

Charles Schwalbach charles at charlesschwalbach.com
Tue Jan 23 01:21:03 CET 2007


Just wanted to follow up on this and see if anyone had any input.

Thanks,

Charles

On 1/21/07, Charles Schwalbach <charles at charlesschwalbach.com> wrote:
> Now this error does have to do with the Irix header files, but it is a
> new error that popped up since RC1. If a change should be made to the
> header file instead just let me know. Here is the error:
>
> cc-1140 CC: ERROR File = /usr/include/CC/stl_pair.h, Line = 44
>   A value of type "const char *" cannot be used to initialize an entity of type
>           "char [24]".
>
>     pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {}
>                                                  ^
>           A template was detected during header processing.
>             instantiation of "std::pair<char [24],
>                       BL_TextureObject>::pair(const char (&)[24], const
>                       BL_TextureObject &)" at line 92
>             instantiation of "std::pair<char [24], BL_TextureObject>
>                       std::make_pair(const char (&)[24], const
>                       BL_TextureObject &)" at line 251 of
>                       "source/gameengine/Ketsji/BL_Texture.cpp"
>
> cc-1140 CC: ERROR File = /usr/include/CC/stl_pair.h, Line = 48
>   A value of type "const char *" cannot be used to initialize an entity of type
>           "char *const".
>
>     pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {}
>                                             ^
>           detected during instantiation of "std::pair<char *const,
>                     BL_TextureObject>::pair(const std::pair<char [24],
>                     BL_TextureObject> &)" at line 251 of
>                     "source/gameengine/Ketsji/BL_Texture.cpp"
>
> Thanks in advance,
>
> Charles
>


More information about the Bf-committers mailing list