Re: compile fails

2002-11-27 Thread Angus Leeming
On Wednesday 27 November 2002 1:35 pm, Andre Poenitz wrote: > On Wed, Nov 27, 2002 at 01:37:28PM +0100, Lars Gullik Bjønnes wrote: > > Please tell what you find out. > > Bold guess: Candidates are: > > std::string::insert(unsigned int, unsigned int, char) > > and > > std::strings::insert(char *

Re: compile fails

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 01:37:28PM +0100, Lars Gullik Bjønnes wrote: > Please tell what you find out. Bold guess: Candidates are: std::string::insert(unsigned int, unsigned int, char) and std::strings::insert(char *, unsigned int, char) Arguments given are (int, int, char). Why adding t

Re: compile fails

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 02:04:05PM +, Edwin Leuven wrote: > had to do the attached to compile They are both already in current CVS. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: compile fails

2002-11-27 Thread Edwin Leuven
had to do the attached to compile Ed. Index: src/LyXAction.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LyXAction.C,v retrieving revision 1.140 diff -u -p -r1.140 LyXAction.C --- src/LyXAction.C 27 Nov 2002 10:30:04 - 1.14

Re: compile fails

2002-11-27 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Nov 27, 2002 at 01:04:19PM +0100, Lars Gullik Bjønnes wrote: | > | Why? 0u and static_cast(0) are null pointer constants as much | > | as '0'. | > | > yes, that was what I was afraid of. | > but anyhow, did you try 0u? | | Yes, and it works. I

Re: compile fails

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 01:04:19PM +0100, Lars Gullik Bjønnes wrote: > | Why? 0u and static_cast(0) are null pointer constants as much > | as '0'. > > yes, that was what I was afraid of. > but anyhow, did you try 0u? Yes, and it works. I just wonder why. Maybe I should have a look at integral pr

Re: compile fails

2002-11-27 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Nov 27, 2002 at 12:46:43PM +0100, Lars Gullik Bjønnes wrote: | > can you try to change this to: | > extension.insert(0u, 1, '.'); | > | > (or | > | > extension.insert(static_cast(0), 1, '.'); | > | > Hopefully t

Re: compile fails

2002-11-27 Thread Edwin Leuven
> can you try to change this to: > extension.insert(0u, 1, '.'); compiling again... Ed.

Re: compile fails

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 12:50:35PM +0100, Andre' Poenitz wrote: > On Wed, Nov 27, 2002 at 12:46:43PM +0100, Lars Gullik Bjønnes wrote: > > can you try to change this to: > > extension.insert(0u, 1, '.'); It makes a difference. Now, please tell me, why? Andre' -- Those who desire

Re: compile fails

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 12:53:42PM +0100, Lars Gullik Bjønnes wrote: > No, that is not the correct fix. (even if '.' -> ".") Indeed. Sorry for the wrong commit, this went to the wrong tree... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they d

Re: compile fails

2002-11-27 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Nov 27, 2002 at 12:37:23PM +, Edwin Leuven wrote: | > redhat 7.3, gcc-c++-2.96-112 | | Just replace the '.' with "." in that line. No, that is not the correct fix. (even if '.' -> ".") (or am I forgetting a string op?) -- Lgb

Re: compile fails

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 12:46:43PM +0100, Lars Gullik Bjønnes wrote: > can you try to change this to: > extension.insert(0u, 1, '.'); > > (or > > extension.insert(static_cast(0), 1, '.'); > > Hopefully the first one is enough. There are other options as well but >

Re: compile fails

2002-11-27 Thread Andre Poenitz
On Wed, Nov 27, 2002 at 12:37:23PM +, Edwin Leuven wrote: > redhat 7.3, gcc-c++-2.96-112 Just replace the '.' with "." in that line. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: compile fails

2002-11-27 Thread Lars Gullik Bjønnes
Edwin Leuven <[EMAIL PROTECTED]> writes: | redhat 7.3, gcc-c++-2.96-112 | | Ed. | | g++ -DHAVE_CONFIG_H -I. -I../../../lyx-devel/src/support -I../../src | -I../../../lyx-devel/src/support/../ -I../../../lyx-devel/boost -isystem | /usr/X11R6/include -g -O -fno-exceptions -ftemplate-depth-30 |

Re: compile fails

2002-02-18 Thread Juergen Vigna
On 18-Feb-2002 Lars Gullik Bjønnes wrote: > Juergen Vigna <[EMAIL PROTECTED]> writes: > >| make[3]: Entering directory `/nfs/sinco/source/lyx/lyx-devel/src/support' >| c++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -isystem >| /usr/X11R6/include -g -fno-exceptions -W -Wall -c s