[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: 0.4.0 Testing



On 02.02.2004 18:41, Chang wrote:
> > That seems to be the missing
> > 
> > #include <iostream>
> > 
> > again...
> 
> Uh... but I have checked it twice,
> there is an line #include <iostream> in mklocale.cpp,
> also twice "make clean ; configure ; make"

What I said was in reply to this error:

main.cpp: In member function `int Editor::Init(const EdOptions&)':
main.cpp:313: error: `cerr' undeclared (first use this function)
main.cpp:313: error: (Each undeclared identifier is reported only once
for each
   function it appears in.)

That's in src/comet/main.cpp.


> However, the error message is not the same as previous,
> strange.
> 
> mklocale.cpp: In function `int main(int, char**)':
> mklocale.cpp:230: error: no matching function for call to `Language::
>    WriteCatalog(const float*&)'
> ../src/common/lang.h:43: error: candidates are: int
>    Language::WriteCatalog(const char*)
> ../src/common/lang.h:44: error:                 int
>    Language::WriteCatalog(File&)
> mklocale.cpp:237: error: no matching function for call to `Language::
>    ReadCatalog(const float*&)'
> ../src/common/lang.h:41: error: candidates are: int Language::ReadCatalog(const
>    char*)
> ../src/common/lang.h:42: error:                 int
>    Language::ReadCatalog(File&)
> mklocale.cpp: In function `char parse_args(int, char**)':
> mklocale.cpp:260: error: cannot convert `char*' to `const float*' in assignment
> mklocale.cpp:265: error: cannot convert `char*' to `const float*' in assignment

This looks like the patching went wrong somehow. Did patch
report any problems? You can try modifying the file manually,
too. Just take the original mklocale.cpp and replace every
occurence of 'locale' by 'localefile'.

Jens