Compiler warnings with GCC 4.6 on oneiric hosts
Bug #902467 reported by
Alexey Kopytov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Undecided
|
Laurynas Biveinis | ||
5.1 |
Fix Released
|
Undecided
|
Laurynas Biveinis |
Bug Description
Debug 5.1 builds fail on Ubuntu OneiricOcelot hosts in Jenkins due to new warnings resulting from -Werror=
os/os0file.c: In function ‘os_aio_
os/os0file.
os/os0file.c: In function ‘os_aio_
os/os0file.
cc1: all warnings being treated as errors
Related branches
lp:~laurynas-biveinis/percona-server/bug902467
- Alexey Kopytov (community): Approve
-
Diff: 87 lines (+6/-8)3 files modifiedPercona-Server/sql/log.cc (+0/-3)
Percona-Server/sql/sql_show.cc (+4/-0)
Percona-Server/storage/innodb_plugin/os/os0file.c (+2/-5)
Changed in percona-server: | |
status: | New → Confirmed |
Changed in percona-server: | |
assignee: | nobody → Laurynas Biveinis (laurynas-biveinis) |
Changed in percona-server: | |
status: | Confirmed → In Progress |
Changed in percona-server: | |
status: | In Progress → Fix Committed |
Changed in percona-server: | |
status: | In Progress → Fix Committed |
Changed in percona-server: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The next issue: MYSQL_HOME= "\"/usr/ local\" " -DMYSQL_ DATADIR= "\"/usr/ local/var\ "" -DSHAREDIR= "\"/usr/ local/share/ mysql\" " -DPLUGINDIR= "\"/usr/ local/lib/ mysql/plugin\ "" -DHAVE_ EVENT_SCHEDULER -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../regex -I. -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict- aliasing -Werror -Wno-unused- parameter -g -DSAFE_MUTEX -O2 -fno-implicit- templates -fno-exceptions -fno-rtti -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.cc :slow_log_ print(THD* , const char*, uint, ulonglong)’: unused- but-set- variable]
g++ -DMYSQL_SERVER -DDEFAULT_
log.cc: In member function ‘bool LOGGER:
log.cc:998:12: error: variable ‘current_time’ set but not used [-Werror=