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

Bug #1269376 reported by Kenny Gryp on 2014-01-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Data Dumper
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/

-- ------------------------------------------------
-- CMAKE_INSTALL_PREFIX = /usr/local
-- 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  Edit
Everyone can see this information.

Other bug subscribers