Bug #61708 Incorrect handling of c-compiler that does not support inline keyword
Submitted: 30 Jun 2011 13:29 Modified: 8 Dec 2011 3:20
Reporter: Jonas Oreland Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:mysql-5.5-bzr OS:Any
Assigned to: CPU Architecture:Any

[30 Jun 2011 13:29] Jonas Oreland
Description:
configure.cmake handles c-compiler that does not support inline keyword incorrectly.

It should make sure that a "#define inline" is emitted
but instead a "#define inline __inline" is emitted.

This can be verified e.g by using
cc: Sun C 5.9 SunOS_sparc Build47_dlight 2007/05/22

but any c-compiler that does not support this keyword will do.

I looked in
mysql-5.5-bzr (revid: marko.makela@oracle.com-20110630102334-bw2fgvw6efye0juc)

How to repeat:
compile with example c-compiler

Suggested fix:
apply patch ?
[30 Jun 2011 13:30] Jonas Oreland
Fix

Attachment: bug61708.patch (application/octet-stream, text), 475 bytes.

[8 Dec 2011 3:20] Paul DuBois
Noted in 5.6.4 changelog.

The CMake configuration checks did not properly test whether the C
compiler supports the inline keyword.