José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes:

| On Tuesday 23 July 2002 14:47, Jean-Marc Lasgouttes wrote:
>>
>> I guess
>>   wc -l `find src/ -name \*.[Cch]`
>> is good enough. We do not want to count libsigc++ or boost as ours. Of
>> course this counts also the gnome/qt2 frontends for recent versions,
>> but the impact is IMO not very important
>> All files in src: 169042
>> Only gnome: 2532
>> Only qt2: 16749
>> and for reference, only xforms: 27302
>>
>> This allows to see how advanced the different frontends are :)
>
|   True.
|   In a certain sense the layout files are also code. But, ok let us KISS. :-)
>
>> JMarc
>
|   Status of compilation until now:
>
|       * The 1.0.x compiled ok, with x=0..4
|       * I get this errors for 1.1.2 (the next in stable series):
>
| make[3]: Entering directory `/home/jamatos/lyx/lyx-1.1.2/src/support'
| g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../  -I/usr/X11R6/include  -g -O2 
| -fno-exceptions -fno-rtti -c filetools.C
| filetools.C: In function `bool PutEnv (const string &)':
| filetools.C:322: cannot convert `const char *' to `char *' for argument
| `1' to `putenv (char *)'

add a const_cast: const_cast<char*>(var)

| lstrings.C:119: Unable to find a register to spill in class `AREG'.
| lstrings.C:119: confused by earlier errors, bailing out
>
|   The function in question is:
|    112  bool prefixIs(string const & a, char const * pre)
|    113  {
|    114          unsigned int l = strlen(pre);
|    115          if (l > a.length() || a.empty())
|    116                  return false;
|    117          else
|    118                  return a.compare(0, l, pre, l) == 0;
|    119  }
>

This one is harder and shows some compiler problem...

-- 
        Lgb

Reply via email to