RE: Illegal use of reserved word in system.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Adrian,
This looks like the source of some stupidity.
http://bugs.mysql.com/bug.php?id=555

Which is even more fun when you see this.
http://bugs.mysql.com/bug.php?id=10364

I think it's been in there a while, but only really blows up when built
under recent kernels.
I agree, it's probably not the right way to go.
John G.

-----Original Message-----
From: Adrian Bunk [mailto:[email protected]] 
Sent: Wednesday, May 18, 2005 12:02 PM
To: Gilbert, John
Cc: [email protected]
Subject: Re: Illegal use of reserved word in system.h

On Wed, May 18, 2005 at 11:23:33AM -0700, Gilbert, John wrote:

> Hello all,

Hi John,

>...
> Examples: The use of "new" in the macro __cmpxchg in system.h. This 
>hits  MySQL which links into the kernel headers to determine if the 
>platform  is SMP aware or not (don't ask me why.) ...

I haven't ever seen MySQL doing something that stupid (stupid because if
it's required, it _really_ has to be done at runtime).

Which version of MySQL have you seen such an SMP check in?

> John Gilbert

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




-----------------------------------------
This message (including any attachments) may contain confidential
information intended for a specific individual and purpose.  If you are not
the intended recipient, delete this message.  If you are not the intended
recipient, disclosing, copying, distributing, or taking any action based on
this message is strictly prohibited.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux