Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> Jean-Marc Lasgouttes wrote:
"younes" == younes <[EMAIL PROTECTED]> writes:
younes> + /// are we in texted?. younes> + /// inlined out because
of profiling results under linux when younes> + // opening a
document. younes> + inline bool inTexted() const; Abdel, are you
sure this is a proper syntax? My compiler complains with

Abdelrazak> By the way, 'insetlatexaccent.h' uses the same syntax:

Abdelrazak>  inline bool canDisplay();

Abdelrazak> Don't you have a warning for this one?
No, because this one is defined later in the header file. This is
different from putting it in the .C file only.

From a compiler POV, this should not matter really.


I did not try to link yet, but I think this does not inline
anything.

Abdelrazak> Please try to link in order to make sure.

It does link, but I do not like the warnings. I even suspect that it
may not be inlined, but I am not sure what a weak symbol is:

Maybe.


ehrenfest: nm src/lyx|grep inTexted|c++filt
082e847a W lyx::DocIterator::inTexted() const


JMarc


Reply via email to