[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#361718: FTBFS with GCC 4.2: cast from pointer to integer of different size



Package: dancer-ircd
Version: 1.0.36-5

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  The bug below is in your package
and not because I'm using a snapshot of the compiler so please take a
look at it.  You can reproduce this with the gcc-snapshot package.


> Automatic build of dancer-ircd_1.0.36-5 on em64t by sbuild/amd64 1.112
...
> if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -DPREFIX="\"/usr\""   -g3 -O2 -pedantic-errors -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -W -Wno-unused -Wmissing-noreturn -Wundef -Wpacked -Wnested-externs -Wbad-function-cast -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wredundant-decls -Wfloat-equal -std=gnu9x -Werror -O2 -MT m_stats.o -MD -MP -MF ".deps/m_stats.Tpo" -c -o m_stats.o m_stats.c; \
> 	then mv -f ".deps/m_stats.Tpo" ".deps/m_stats.Po"; else rm -f ".deps/m_stats.Tpo"; exit 1; fi
> cc1: warnings being treated as errors
> m_stats.c: In function 'm_stats':
> m_stats.c:233: warning: cast from pointer to integer of different size
> m_stats.c:233: warning: cast from pointer to integer of different size
> make[2]: *** [m_stats.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: