Jean-Marc Lasgouttes wrote:
> 
> >>>>> "R" == R Lahaye <[EMAIL PROTECTED]> writes:
> 
> R> Jean-Marc Lasgouttes wrote:
> >>  >>>>> "R" == R Lahaye <[EMAIL PROTECTED]> writes:
> >>
> R> Hi,
> >>
> R> Below is a list of warnings I get during my compile. Is that
> R> useful?
> >>  Probably. What version of g++ is that? Are you sure you updated to
> >> latest cvs?
> 
> R> Yes, it's the latest CVS. I'm using g++ version 2.95.3.
> 
> OK, I added the same option to remove the 'template friends' warning
> as for gcc 2.96. I hope it is implemented by this version :)
> 
> Several of the other warnings should be gone now.

Not quite. LyX comiles fine, when using
  autoconf-2.53
  automake-1.5
  libtool-1.3.4_4

(I upgraded from FreeBSD 4.5 to 4.6)

However, I still get a few warning messages during autogen.sh and make:

========= autogen.sh output =========================

$ ./autogen.sh 
Locating GNU m4... found: gm4
Generate acinclude.m4... done.
Building macros...
        .
        lib/reLyX
done.
Building config header template...
        .
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
configure.in:5: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
configure.in:353: warning: do not use m4_regexp: use regexp or m4_bregexp
autoheader: `src/config.h.in' is created
done.
Building Makefile templates...
        .
src/Makefile.am:12: LIBS was set with `+=' and is now set with `='
src/frontends/Makefile.am:12: LIBS was set with `+=' and is now set with `='
        lib/reLyX
done.
Building configure...
       .
       lib/reLyX
done.
Building lib/configure ... done.

run "./configure ; make"


======================= configure result ===================

Configuration
  Host type:                      i386-unknown-freebsd4.6
  Special build flags:            warnings assertions
  C   Compiler:                   gcc
  C   Compiler flags:             -g -O2
  C++ Compiler:                   g++ (2.95.3)
  C++ Compiler flags:             -g -O -Wno-non-template-friend -W -Wall
  Linker flags:                   
  Frontend:                       xforms
    libXpm version:               4.11
    libforms version:             1.0.0
  LyX binary dir:                 /opt/bin
  LyX files dir:                  /opt/share/lyx


==================== make warnings ========================

/usr/local/bin/msgfmt: bg.po: warning: Charset "windows-1251" is not a portable 
encoding name.
/usr/local/bin/msgfmt: he.po: warning: Charset "unknown" is not a portable encoding 
name.
GraphicsImageXPM.C:273: warning: comparison between signed and unsigned
PreviewLoader.C:555: warning: unused variable `const class Converter * converter'
xscreen.C:214: warning: comparison between signed and unsigned
xscreen.C:214: warning: comparison between signed and unsigned
screen.C:192: warning: comparison between signed and unsigned
lyxrc.C:960: warning: enumeration value `RC_NEW_ASK_FILENAME' not handled in switch
lyxrc.C:1659: warning: enumeration value `RC_NEW_ASK_FILENAME' not handled in switch

and a list from 38 warnings in GUI.h of this type:

warning:   declares a non-template function
../../../src/frontends/controllers/GUI.h:60: warning: friend declaration `void 
gui_ShowTabularCreate(LyXView &, Dialogs &)'

(see my previous email in this thread for the whole list).

==================== 


Does this somehow help?

Regards,
Rob.

Reply via email to