You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Andrea Pescetti <pe...@apache.org> on 2013/10/06 20:53:00 UTC

Re: [announce] genLang extract is ready.

On 16/09/2013 janI wrote:
> Now I have removed all warnings, so this is now one of the few modules
> without warnings (actually that would be a good task for a new developer).
> R1523556 compiles without warnings on ubuntu 12.04 and windows7 (VC2012).

I now retried on the same Fedora 19 machine and indeed the build gets 
some steps further, but then it breaks on what seems to be a type/ 
conversion problem in the specific gcc version used there (g++ (GCC) 
4.8.1 20130603, on a 64-bit machine).

The error I get is below. But I think that when genLang is fully working 
in an environment then build problems can be addressed in other 
environments, there will surely be common patterns.

In file included from .../main/l10ntools/source/gConPoWrap.cxx:61:0:
../unxlngx6.pro/misc/gConPo_yy.c: In function 'int 
PoWrap::yy_get_next_buffer()':
../unxlngx6.pro/misc/gConPo_yy.c:1177:137: error: no matching function 
for call to 'convert_gen_impl::lexRead(char*, PoWrap::yy_size_t*, 
PoWrap::yy_size_t&)'
    YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
 
                                                                   ^
../unxlngx6.pro/misc/gConPo_yy.c:1177:137: note: candidate is:
In file included from .../main/l10ntools/source/gConPo.hxx:23:0,
                  from .../main/l10ntools/source/gConPoWrap.cxx:21:
.../main/l10ntools/source/gCon.hxx:78:10: note: void 
convert_gen_impl::lexRead(char*, int*, int)
      void         lexRead        (char *sBuf, int *nResult, int nMax_size);
           ^
.../main/l10ntools/source/gCon.hxx:78:10: note:   no known conversion 
for argument 2 from 'PoWrap::yy_size_t* {aka long unsigned int*}' to 'int*'
In file included from .../main/l10ntools/source/gConPoWrap.cxx:61:0:
../unxlngx6.pro/misc/gConPo_yy.c: In function 'PoWrap::yy_buffer_state* 
PoWrap::yy_scan_bytes(const char*, PoWrap::yy_size_t)':
../unxlngx6.pro/misc/gConPo_yy.c:1723:19: warning: comparison between 
signed and unsigned integer expressions [-Wsign-compare]
   for ( i = 0; i < _yybytes_len; ++i )
                    ^
dmake:  Error code 1, while making '../unxlngx6.pro/obj/gConPoWrap.obj'

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org