[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: KOffice 1.3 Release CVS build problem
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-01-11 16:34:12
Message-ID: 200401111734.13344.nicolasg () snafu ! de
[Download RAW message or body]

On Sunday 11 January 2004 17:02, James Richard Tyrer wrote:
> Nicolas Goutte wrote:
> > On Saturday 10 January 2004 22:13, James Richard Tyrer wrote:
> >>I am using GCC-3.3.2 and I get this error message:
> >>
> >>kohyphen.cpp: In constructor `KoHyphenator::KoHyphenator()':
> >>kohyphen.cpp:61: error: exception handling disabled, use -fexceptions to
> >>enable make[1]: *** [kohyphen.lo] Error 1
> >>make[1]: Leaving directory
> >>`/usr/CVS/koffice-1.3/koffice/lib/kotext/kohyphen' make: ***
> >>[all-recursive] Error 1
> >>
> >>This is correct.  If I run the command by hand with "-fno-exceptions"
> >>changed to "-fexceptions" it works and I can continue with the build.
> >
> > Exceptions should be switched on, so I do not understand why GCC would
> > complain. :-(
> >
> > You could see in the Makefile what value has USE_EXCEPTIONS, it should be
> > something like -fexceptions.
>
> Yes the Makefile has:
>
> USE_EXCEPTIONS = -fexceptions
>
> But, it also has:
>
> CXXFLAGS = -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W
> -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wconversion -Wchar-subscripts -O2 -march=k6-3 -mcpu=k6-3 -O2
> -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
> -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
> -DQT_NO_COMPAT -DQT_NO_TRANSLATION

CXXFLAGS is not the problem, except if gcc cannot cope anymore with
-fno-exceptions -fexceptions
That would be quite a problem, I suppose not only for KOffice.

>
> Something is wrong somewhere, but I haven't figured it out yet.
>
> > If there is nothing like that, check if configure tells that gcc support
> > -fexception, may be look in the config.log what happens.
> >
> >>This is the second such error I got in: "koffice/lib/kotext/".
> >
> > Sorry, what do you mean by this sentence? Did you see another such
> > exception error?
>
> Yes, there was another similar error.
>
> --
> JRT
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@mail.kde.org
> https://mail.kde.org/mailman/listinfo/koffice-devel

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic