[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling kde2 with gcc 3.0
- To: Adi Stav <stav(at-nospam)actcom.co.il>
- Subject: Re: compiling kde2 with gcc 3.0
- From: mulix <mulix(at-nospam)actcom.co.il>
- Date: Wed, 20 Jun 2001 14:16:35 +0300 (IDT)
- Cc: Hetz Ben Hamo <hetz(at-nospam)magnifire.net>, Oren Held <mlist(at-nospam)opinionz.cjb.net>, <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <20010620233915.I2853@wilma.stav>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Wed, 20 Jun 2001, Adi Stav wrote:
> I haven't tried, but if I understood correctly the frontend was hardly
> changed, while the C++ frontend was almost rewritten from scratch. Probably
> Gnome compilation will be affected less strongly than KDE. At work I tried
> to recompile some of our C libraries (works fine) and C++ librariess
> (tons of errors, fails). I don't know whether the C++ problems in KDE's case
> and in my own expriments' case were GCC's fauilt or that the code was wrong,
> though.
much more likely that it's the code's fault. g++ (and libstdc++v3)
conform much better to the c++ standard, which means it will not accept
code it might've accepted in the past.
on behalf of the gcc developers, if you think you found a bug in gcc,
reconsider. one of the critical release criteria of gcc was that there
will be _no_ regressions from gcc-2.95.2. code that compiles with
gcc-2.95.2 and no longer compiles with gcc-3.0 is probably not standards
conforming (enough). consult with someone who really knows the language.
try other (standards conforming!) compilers. only then, if you are sure
you found a bug, use the 'gccbug' shell script to report it.
re compiling the kernel with gcc-3.0: you can do it, but it's not
recommended. even if the compilation succeeds (i dont think it does, at
the moment, some problem with builtin functions) there is a whole slew
of arcane magic and black wizardry that can go wrong, if the compiler
does something differently than what it used to do. you might get a
kernel that runs, but silently trashes your data. in other words, try
it, but if it breaks, you get to keep both pieces...
--
mulix
http://www.advogato.com/person/mulix
linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il