mydumper 0.6.0 fails to compile "cast from pointer to integer of different size"

Bug #1269376 reported by Kenny Gryp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Data Dumper
Fix Released
Medium
Max Bubenick

Bug Description

Compilation fails....

ec2-user@db1 mydumper-0.6.0]$ cmake .
-- The CXX compiler identification is GNU 4.6.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found MySQL: /usr/include/mysql, /usr/lib/mysql/libmysqlclient.so

-- ------------------------------------------------
-- MYSQL_CONFIG = MYSQL_CONFIG-NOTFOUND
-- CMAKE_INSTALL_PREFIX = /usr/local
-- BUILD_DOCS = ON
-- RUN_CPPCHECK = OFF
-- Change a values with: cmake -D<Variable>=<Value>
-- ------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ec2-user/mydumper-0.6.0
[ec2-user@db1 mydumper-0.6.0]$ make
Scanning dependencies of target mydumper
[ 14%] Building C object CMakeFiles/mydumper.dir/mydumper.c.o
/home/ec2-user/mydumper-0.6.0/mydumper.c: In function ‘dump_database’:
/home/ec2-user/mydumper-0.6.0/mydumper.c:1258:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/mydumper.dir/mydumper.c.o] Error 1
make[1]: *** [CMakeFiles/mydumper.dir/all] Error 2
make: *** [all] Error 2

Related branches

Changed in mydumper:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Max Bubenick (max-bubenick)
Changed in mydumper:
status: In Progress → Fix Committed
Changed in mydumper:
milestone: none → 0.6.1
Changed in mydumper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.