Bug#118087: operation behavior not a bug...

2001-11-03 Thread Randolph Chung
John had mentioned this bug to me on irc... after looking at this a
bit more, it looks like someone else had reported this to the gcc folks
and they determined it's not a bug.

See PR#3747 at http://gcc.gnu.org/cgi-bin/gnatsweb.pl

The fix is to not use unsigned int as a type in an overridden []
operator. changing the [] operator to have type int works.

John, can you verify this fixes your problem? It does seem to fix it in
your test case (modulo adding a definition for the destructor)

randolph
-- 
   @..@ http://www.TauSq.org/
  ()
 ( >__< )
 ^^ ~~ ^^




Re: Linking Qt apps with g++-3.0

2001-11-03 Thread Martin v. Loewis
> Yes.  Not only has the libstdc++ ABI changed, but the symbol mangling has
> as well (hence most of the undefined symbols that you're seeing).  I've
> tested gcc/g++ 3.0 out on KDE on Alpha before and it worked fairly
> well.  There were some problems (Konqueror crashed for no reason, etc),
> but overall, it did work.  

Actually, there is a serious bug in g++ 3.0.x, where it will generate
incorrect code for multiple-inheritance cases with virtual bases if
the bases have no members. This causes the generated Konqueror to
crash, and a number of other packages as well. See the g++ gnats for
details.

Regards,
Martin




Help me!!

2001-11-03 Thread Gopalkrishna M R
Hello!

Installed the RT Linux 2.2.18-rtl Kernel on
Redhat Linux release 7.1 (Seawolf).
Computer is K6-500 processor, with 128MB RAM.

There is a problem in compiling the ISA based
device driver.  The same ISA device driver has worked
with the Kernel 2.4.2-2 (Redhad 7.1).
-
The error it gives while compiling is :

/tmp/ccSkuPmI.s : Assembler messages:
/tmp/ccSkuPmI.s:9: Warning : Ignoring changed section attributes
for .modinfo.

While loading the .o file it says:

unresolved symbol isa_readb
unresolved symbol isa_readl
unresolved symbol isa_writel
-

isa_readb, isa_readl, isa_writel are the macros which
are define under asm/io.h.

Can someone help me to solve this problem?

Thanks for the help.

Regards,
gopalkrishna
  --
  | Gopalkrishna M R   | Phone : +91 80 3340122 to 7   |
  | RAMAN RESEARCH INSTITUTE   | Fax   : +91 80 3340492|
  | Sadashivnagar  | email : [EMAIL PROTECTED]   |
  | BANGALORE - 560 080|~~~|
  | Karnataka  | o  o  o  o  o |
  | INDIA. |o  o  o  o  o  |
  --