Bug #34795 libevent does not compile with -ansi -pedantic
Submitted: 24 Feb 2008 22:28 Modified: 16 Sep 2010 5:48
Reporter: Konstantin Osipov (OCA) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:6.0 OS:Any
Assigned to: CPU Architecture:Any

[24 Feb 2008 22:28] Konstantin Osipov
Description:
libevent does not compile in 6.0 with -ansi -pedantic
NSIG is not defined, timeradd/timerclear, u_char and other linux-specific defines.

How to repeat:
./BUILD/compile-pentium-valgrind-max --warning-mode=pedantic
[24 Feb 2008 22:28] Konstantin Osipov
Setting to open for triage
[26 Feb 2008 12:36] MySQL Verification Team
Thank you for the bug report.

gmake[3]: Leaving directory `/home/miguel/test/mysql-6.0/extra/libevent'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/miguel/test/mysql-6.0/extra'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/miguel/test/mysql-6.0/extra'
gmake: *** [all-recursive] Error 1
[miguel@mira mysql-6.0]$
[16 Sep 2010 5:48] Konstantin Osipov
This is 6.0-only.