Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-13 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), Most of them are:

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-13 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), Most of them are:

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes [EMAIL PROTECTED] writes: here my second one, we talk here about hundreds of warning per file. An excerpt here: d:/program/Qt/4.1.1//include/QtGui/../../src/gui/widgets/qcombobox.h:262: warning: inline function 'const QComboBoxPrivate*

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Angus Leeming a écrit : Well, with Qt4, this happens only for moc/*_moc.C. I had a look at qtglobal.h and I saw this: Small correction, this happens also for files in frontends/qt4/. I forgot that I modified the Makefile, sorry.

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Tue, Apr 11, 2006 at 08:08:32PM +0200, Abdelrazak Younes wrote: Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), Most of them

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes Enrico wrote: I need to set CXXFLAGS for two reasons: 1) the configure step won't work with the --with-extra-prefix='d:/program/Aspell-0.60.4' option. It complain about 'd'

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Enrico Forestieri
On Wed, Apr 12, 2006 at 10:31:58AM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : On Tue, Apr 11, 2006 at 08:08:32PM +0200, Abdelrazak Younes wrote: Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Enrico Forestieri
On Wed, Apr 12, 2006 at 12:01:09PM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes Enrico wrote: I need to set CXXFLAGS for two reasons: 1) the configure step won't work with the

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico PATH_SEPARATOR is correctly set to ':' when running configure Enrico on Cygwin, and I suspect that it also is ':' on MSYS, but I am Enrico not sure as I don't have it installed. So PATH is a ':' separated list on msys? How does it

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Enrico Forestieri a écrit : That's -Wl,--export-all-symbols and simply passes --export-all-symbols to the linker. It does no good and simply will increase your linking time. I suggest that you get rid of it. [..] I was not talking about the warnings, sorry for the confusion. What I said only

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico PATH_SEPARATOR is correctly set to ':' when running configure Enrico on Cygwin, and I suspect that it also is ':' on MSYS, but I am Enrico not sure as I don't have it installed. So PATH is a ':'

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes a écrit : Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico PATH_SEPARATOR is correctly set to ':' when running configure Enrico on Cygwin, and I suspect that it also is ':' on MSYS, but I am

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Enrico Forestieri
On Wed, Apr 12, 2006 at 02:48:19PM +0200, Abdelrazak Younes wrote: Jean-Marc Lasgouttes a écrit : Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico PATH_SEPARATOR is correctly set to ':' when running configure Enrico on Cygwin, and I suspect that it also is ':' on MSYS, but I am

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes a écrit : Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico PATH_SEPARATOR is correctly set to ':' when running configure Enrico on Cygwin, and I suspect that

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Enrico Forestieri
On Wed, Apr 12, 2006 at 02:45:00PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : That's -Wl,--export-all-symbols and simply passes --export-all-symbols to the linker. It does no good and simply will increase your linking time. I suggest that you get rid of it. [..] I was not

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Wed, Apr 12, 2006 at 02:45:00PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : That's -Wl,--export-all-symbols and simply passes --export-all-symbols to the linker. It does no good and simply will increase your linking time. I suggest that you get

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: here my second one, we talk here about hundreds of warning per file. An excerpt here: d:/program/Qt/4.1.1//include/QtGui/../../src/gui/widgets/qcombobox.h:262: warning: inline function 'const QComboBoxPrivate*

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Angus Leeming a écrit : Well, with Qt4, this happens only for "moc/*_moc.C". I had a look at qtglobal.h and I saw this: Small correction, this happens also for files in frontends/qt4/. I forgot that I modified the Makefile, sorry.

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Tue, Apr 11, 2006 at 08:08:32PM +0200, Abdelrazak Younes wrote: Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), Most of them

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes Enrico> wrote: >> I need to set CXXFLAGS for two reasons: 1) the configure step won't >> work with the --with-extra-prefix='d:/program/Aspell-0.60.4' >> option. It

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Enrico Forestieri
On Wed, Apr 12, 2006 at 10:31:58AM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > >On Tue, Apr 11, 2006 at 08:08:32PM +0200, Abdelrazak Younes wrote: > >>Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have > >>an awful lot of warnings. As I don't want

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Enrico Forestieri
On Wed, Apr 12, 2006 at 12:01:09PM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes > Enrico> wrote: > >> I need to set CXXFLAGS for two reasons: 1) the configure step won't

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> PATH_SEPARATOR is correctly set to ':' when running configure Enrico> on Cygwin, and I suspect that it also is ':' on MSYS, but I am Enrico> not sure as I don't have it installed. So PATH is a ':' separated list on msys? How

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Enrico Forestieri a écrit : That's -Wl,--export-all-symbols and simply passes --export-all-symbols to the linker. It does no good and simply will increase your linking time. I suggest that you get rid of it. [..] I was not talking about the warnings, sorry for the confusion. What I said only

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> PATH_SEPARATOR is correctly set to ':' when running configure Enrico> on Cygwin, and I suspect that it also is ':' on MSYS, but I am Enrico> not sure as I don't have it installed. So PATH is a ':'

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes a écrit : >>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> PATH_SEPARATOR is correctly set to ':' when running configure Enrico> on Cygwin, and I suspect that it also is

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Enrico Forestieri
On Wed, Apr 12, 2006 at 02:48:19PM +0200, Abdelrazak Younes wrote: > Jean-Marc Lasgouttes a écrit : > >>"Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > >Enrico> PATH_SEPARATOR is correctly set to ':' when running configure > >Enrico> on Cygwin, and I suspect that it also is ':'

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-12 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes a écrit : "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> PATH_SEPARATOR is correctly set to ':' when running configure Enrico> on Cygwin, and I

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Enrico Forestieri
On Wed, Apr 12, 2006 at 02:45:00PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > >>>That's -Wl,--export-all-symbols and simply passes --export-all-symbols > >>>to the linker. It does no good and simply will increase your linking > >>>time. I suggest that you get rid of it. > [..]

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-12 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Wed, Apr 12, 2006 at 02:45:00PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : That's -Wl,--export-all-symbols and simply passes --export-all-symbols to the linker. It does no good and simply will increase your linking time. I suggest that you get

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Before running configure yes, I have to, configure will Abdelrazak fail if CXXFLAGS is not set. Could you show us what your build process looks like? Jean-Marc Lasgouttes a

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Angus Leeming
Abdelrazak Younes [EMAIL PROTECTED] writes: export CXXFLAGS=-Os -Id:/program/Aspell-0.60.4/include Replace with CPPFLAGS and you should be all set. Angus

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Abdelrazak Younes [EMAIL PROTECTED] writes: export CXXFLAGS=-Os -Id:/program/Aspell-0.60.4/include Angus Replace with CPPFLAGS and you should be all set. And use --enable-optimization=-Os JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Abdelrazak Younes [EMAIL PROTECTED] writes: export CXXFLAGS=-Os -Id:/program/Aspell-0.60.4/include Angus Replace with CPPFLAGS and you should be all set. And use --enable-optimization=-Os Thanks to you

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Thanks to you both ;-) Concerning the fact that --with-extra-prefix does not work: do you have the right test.exe in your path? JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Thanks to you both ;-) Concerning the fact that --with-extra-prefix does not work: do you have the right test.exe in your path? I don't know but I guess not because test exist but gives me

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Thanks to you both ;-) Concerning the fact that --with-extra-prefix does not work: do you have the right test.exe in your

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Thanks to you both ;-) Concerning the fact that

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Enrico Forestieri
On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes wrote: I need to set CXXFLAGS for two reasons: 1) the configure step won't work with the --with-extra-prefix='d:/program/Aspell-0.60.4' option. It complain about 'd' not being a directory, it doesn't work either with a

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes [EMAIL PROTECTED] writes: export CXXFLAGS=-Os -Id:/program/Aspell-0.60.4/include Replace with CPPFLAGS and you should be all set. Apparently not, at least not in my system. I have the same errors as if don't set CXXFLAGS: checking for

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Angus Leeming a écrit : Abdelrazak Younes [EMAIL PROTECTED] writes: export CXXFLAGS=-Os -Id:/program/Aspell-0.60.4/include Replace with CPPFLAGS and you should be all set. Abdelrazak Apparently not, at least not in my

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Angus Leeming a écrit : Abdelrazak Younes [EMAIL PROTECTED] writes: export CXXFLAGS=-Os -Id:/program/Aspell-0.60.4/include Replace with CPPFLAGS and you should be all set. Abdelrazak

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes wrote: I need to set CXXFLAGS for two reasons: 1) the configure step won't work with the --with-extra-prefix='d:/program/Aspell-0.60.4' option. It complain about 'd' not being a directory, it doesn't work

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Angus Leeming a écrit : Abdelrazak Younes [EMAIL PROTECTED] writes: export CXXFLAGS=-Os -Id:/program/Aspell-0.60.4/include Replace with CPPFLAGS and you should be

Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-11 Thread Abdelrazak Younes
Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), Most of them are: d:/mingw/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/bits/stl_uninitialized

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Enrico Forestieri
On Tue, Apr 11, 2006 at 07:11:43PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes wrote: I need to set CXXFLAGS for two reasons: 1) the configure step won't work with the --with-extra-prefix='d:/program/Aspell-0.60.4'

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-11 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), here my second one, we talk here about hundreds of warning per file. An

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-11 Thread Enrico Forestieri
On Tue, Apr 11, 2006 at 08:08:32PM +0200, Abdelrazak Younes wrote: Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), Most of them are:

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-11 Thread Angus Leeming
Abdelrazak Younes [EMAIL PROTECTED] writes: here my second one, we talk here about hundreds of warning per file. An excerpt here: d:/program/Qt/4.1.1//include/QtGui/../../src/gui/widgets/qcombobox.h:262: warning: inline function 'const QComboBoxPrivate* QComboBox::d_func() const' is

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Before running "configure" yes, I have to, configure will Abdelrazak> fail if CXXFLAGS is not set. Could you show us what your build process looks like? Jean-Marc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > export CXXFLAGS="-Os -Id:/program/Aspell-0.60.4/include" Replace with CPPFLAGS and you should be all set. Angus

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> > export CXXFLAGS="-Os -Id:/program/Aspell-0.60.4/include" Angus> Replace with CPPFLAGS and you should be all set. And use --enable-optimization=-Os JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Abdelrazak Younes <[EMAIL PROTECTED]> writes: export CXXFLAGS="-Os -Id:/program/Aspell-0.60.4/include" Angus> Replace with CPPFLAGS and you should be all set. And use --enable-optimization=-Os

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Thanks to you both ;-) Concerning the fact that --with-extra-prefix does not work: do you have the right test.exe in your path? JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Thanks to you both ;-) Concerning the fact that --with-extra-prefix does not work: do you have the right test.exe in your path? I don't know but I guess not because "test" exist but

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes a écrit : >>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Thanks to you both ;-) >> Concerning the fact that --with-extra-prefix does not work: do you >> have the

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Thanks to you both ;-) Concerning the fact

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Enrico Forestieri
On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes wrote: > I need to set CXXFLAGS for two reasons: > 1) the configure step won't work with the > --with-extra-prefix='d:/program/Aspell-0.60.4' option. It complain about > 'd' not being a directory, it doesn't work either with a

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: > export CXXFLAGS="-Os -Id:/program/Aspell-0.60.4/include" Replace with CPPFLAGS and you should be all set. Apparently not, at least not in my system. I have the same errors as if don't set CXXFLAGS: checking for

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Angus Leeming a écrit : >> Abdelrazak Younes <[EMAIL PROTECTED]> writes: >>> > export CXXFLAGS="-Os -Id:/program/Aspell-0.60.4/include" >> Replace with CPPFLAGS and you should be all set. Abdelrazak> Apparently not,

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: export CXXFLAGS="-Os -Id:/program/Aspell-0.60.4/include" Replace with CPPFLAGS and you should be all set.

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes wrote: I need to set CXXFLAGS for two reasons: 1) the configure step won't work with the --with-extra-prefix='d:/program/Aspell-0.60.4' option. It complain about 'd' not being a directory, it doesn't work

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: export CXXFLAGS="-Os -Id:/program/Aspell-0.60.4/include" Replace with CPPFLAGS and you

Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-11 Thread Abdelrazak Younes
Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), Most of them are: d:/mingw/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/bits/stl_uninitialized

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-11 Thread Enrico Forestieri
On Tue, Apr 11, 2006 at 07:11:43PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > >On Tue, Apr 11, 2006 at 09:28:23AM +0200, Abdelrazak Younes wrote: > > > >>I need to set CXXFLAGS for two reasons: > >>1) the configure step won't work with the >

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-11 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have an awful lot of warnings. As I don't want Marchall Lastgouttes to catch me on that, here is my first report :-), here my second one, we talk here about hundreds of warning per file. An

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-11 Thread Enrico Forestieri
On Tue, Apr 11, 2006 at 08:08:32PM +0200, Abdelrazak Younes wrote: > Now that -Wl is passed to g++ (shouldn't it be -Wall by the way?) I have > an awful lot of warnings. As I don't want Marchall Lastgouttes to catch > me on that, here is my first report :-), Most of them are: > >

Re: Question about C++ warning (was Re: [Patch] Paragrah creation/deletion optimisation)

2006-04-11 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > here my second one, we talk here about hundreds of warning per file. An > excerpt here: > d:/program/Qt/4.1.1//include/QtGui/../../src/gui/widgets/qcombobox.h:262: > warning: inline > function 'const QComboBoxPrivate* QComboBox::d_func() const' is

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Well sheriff there's a lot of #warning FIXME in there. Abdelrazak They are for sure noticed but have been happily ignored Abdelrazak for a long long time ;-) We have voted an amnesty law for that :) JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Well sheriff there's a lot of #warning FIXME in there. Abdelrazak They are for sure noticed but have been happily ignored Abdelrazak for a long long time ;-) We have voted an

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak :-) By the way, the only way for gcc to give warning about Abdelrazak missing cases in a switch is to pass the -Wall option.This Abdelrazak is not done by default when you configure, might be a good Abdelrazak idea to do so.

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak :-) By the way, the only way for gcc to give warning about Abdelrazak missing cases in a switch is to pass the -Wall option.This Abdelrazak is not done by default when you configure, might be a

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: | | Abdelrazak :-) By the way, the only way for gcc to give warning about | Abdelrazak missing cases in a switch is to pass the -Wall option.This | Abdelrazak is not done by default when

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: | | Abdelrazak :-) By the way, the only way for gcc to give warning about | Abdelrazak missing cases in a switch is to pass the -Wall option.This |

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] Lars writes: Lars | Lars | Abdelrazak :-) By the way, the only way for gcc to give Lars warning about | Abdelrazak missing cases in

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] Lars writes: Lars | Lars | Abdelrazak :-) By the way, the only way for gcc to give Lars warning

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes a écrit : Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] Lars writes: | Lars |

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes a écrit : Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars Abdelrazak == Abdelrazak Younes [EMAIL

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Lars Gullik Bjønnes
Abdelrazak Younes [EMAIL PROTECTED] writes: | Jean-Marc Lasgouttes a écrit : | Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: | Abdelrazak Jean-Marc Lasgouttes a écrit : | Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: |

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Before running configure yes, I have to, configure will Abdelrazak fail if CXXFLAGS is not set. Could you show us what your build process looks like? JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Well sheriff there's a lot of #warning FIXME in there. Abdelrazak> They are for sure noticed but have been happily ignored Abdelrazak> for a long long time ;-) We have voted an amnesty law for that :) JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Well sheriff there's a lot of #warning FIXME in there. Abdelrazak> They are for sure noticed but have been happily ignored Abdelrazak> for a long long time ;-) We have voted

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> :-) By the way, the only way for gcc to give warning about Abdelrazak> missing cases in a switch is to pass the -Wall option.This Abdelrazak> is not done by default when you configure, might be a good Abdelrazak> idea

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> :-) By the way, the only way for gcc to give warning about Abdelrazak> missing cases in a switch is to pass the -Wall option.This Abdelrazak> is not done by default when you configure,

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: | | Abdelrazak> :-) By the way, the only way for gcc to give warning about | Abdelrazak> missing cases in a switch is to pass the -Wall option.This | Abdelrazak> is not done by

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: | | Abdelrazak> :-) By the way, the only way for gcc to give warning about | Abdelrazak> missing cases in a switch is to pass the -Wall

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> Lars> writes: Lars> | Lars> | Abdelrazak> :-) By the way, the only way for gcc to give Lars> warning about |

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> Lars> writes: Lars> | Lars> | Abdelrazak> :-) By the way, the only way for gcc to

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes a écrit : >>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> > "Abdelrazak" == Abdelrazak Younes <[EMAIL

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes a écrit : "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> > "Abdelrazak" == Abdelrazak

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Jean-Marc Lasgouttes a écrit : | >> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > Abdelrazak> Jean-Marc Lasgouttes a écrit : | "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | > Lars> Jean-Marc Lasgouttes

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-10 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Before running "configure" yes, I have to, configure will Abdelrazak> fail if CXXFLAGS is not set. Could you show us what your build process looks like? JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-08 Thread Lars Gullik Bjønnes
Abdelrazak Younes [EMAIL PROTECTED] writes: | [EMAIL PROTECTED] a écrit : |What if the compiler warning goes unnoticed? I really prefer to | use | default in this case because by default it will do the full | counter update. | We compile with all warnings enabled. | Ignoring them is a

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-08 Thread Jean-Marc Lasgouttes
That is because we have used '#warning' as '#info'. Seeing how we ignore them, they should probably be replaced by plain FIXMEs. JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-08 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | That is because we have used '#warning' as '#info'. | | Seeing how we ignore them, they should probably | be replaced by plain FIXMEs. Yes they should. -- Lgb

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-08 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | [EMAIL PROTECTED] a écrit : | > > What if the compiler warning goes unnoticed? I really prefer to | > use | >> "default" in this case because by default it will do the full | >> counter update. | > We compile with all warnings enabled. | > Ignoring

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-08 Thread Jean-Marc Lasgouttes
> That is because we have used '#warning' as '#info'. Seeing how we ignore them, they should probably be replaced by plain FIXMEs. JMarc

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-08 Thread Lars Gullik Bjønnes
"Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> writes: | > That is because we have used '#warning' as '#info'. | | Seeing how we ignore them, they should probably | be replaced by plain FIXMEs. Yes they should. -- Lgb

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-07 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: It is indeed late for 1.4.1, but it will definitely go in 1.4.2. Abdelrazak OK, then please note that there are a number of other Abdelrazak calls to updateCounters that can be optimized also but I Abdelrazak did not have the time to

Re: [Patch] Paragrah creation/deletion optimisation

2006-04-07 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: It is indeed late for 1.4.1, but it will definitely go in 1.4.2. Abdelrazak OK, then please note that there are a number of other Abdelrazak calls to updateCounters that can be

  1   2   >