Yep, this is my fault.  Look for a fix to be pushed shortly...

Cheers,

Jay

Diego Medina wrote:
Hi,

I have been trying to compile drizzle on my Fedora 8 32 bit machine
and I get this error

calendar.cc:178: warning: converting to 'int64_t' from 'double'

I looked over at the build farm and I see that other platforms get the
same error, will it help if I report a bug on it or how would this get
fixed?

http://build.drizzleproject.org/builders/gentoo8.32.1/builds/739/steps/compile/logs/warnings



This is what I'm running in case it helps here:

$  ./configure --prefix=/home/wizard/Download/developer/drizzle

$make -j2

and I get towards the end:

==========================
depbase=`echo calendar.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H   -I.. -I..  -Wall -Wextra -Werror
-pedantic -Wundef -Woverloaded-virtual  -Wnon-virtual-dtor
-Wctor-dtor-privacy -Wno-redundant-decls -Wno-long-long
-Wno-strict-aliasing       -Wshadow     -O3  -ggdb3 -std=gnu++98
-fno-rtti  -MT calendar.o -MD -MP -MF $depbase.Tpo -c -o calendar.o
calendar.cc &&\
        mv -f $depbase.Tpo $depbase.Po
cc1plus: warnings being treated as errors
calendar.cc: In function 'void
gregorian_date_from_julian_day_number(int64_t, uint32_t*, uint32_t*,
uint32_t*)':
calendar.cc:178: warning: converting to 'int64_t' from 'double'
make[3]: *** [calendar.o] Error 1
make[3]: *** Waiting for unfinished jobs....
 g++ -DHAVE_CONFIG_H -I.. -I.. -Wall -Wextra -Werror -pedantic -Wundef
-Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy
-Wno-redundant-decls -Wno-long-long -Wno-strict-aliasing -Wshadow -O3
-ggdb3 -std=gnu++98 -fno-rtti -Wno-shadow -MT
libserialutil_la-unireg.lo -MD -MP -MF
.deps/libserialutil_la-unireg.Tpo -c unireg.cc -o
libserialutil_la-unireg.o >/dev/null 2>&1
mv -f .deps/libserialutil_la-unireg.Tpo .deps/libserialutil_la-unireg.Plo
make[3]: Leaving directory `/home/wizard/Download/server/drizzle/drizzled'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/wizard/Download/server/drizzle/drizzled'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wizard/Download/server/drizzle'
make: *** [all] Error 2

=============================
Configuration summary for drizzle version 7.0.0

   * Installation prefix:       /home/wizard/Download/developer/drizzle
   * System type:               pc-linux-gnu
   * Host CPU:                  i686
   * C Compiler:                gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
   * C++ Compiler:              g++ (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
   * Build auth_pam:            no
   * Assertions enabled:        yes
   * Debug enabled:             no
   * Profiling enabled:         no
   * Coverage enabled:          no
   * Warnings as failure:       yes
   * Scheduling Plugins:        single_thread pool_of_threads
   * C++ cstdint location:      <stdint.h>
   * C++ hash_map location:     <ext/hash_map>
   * C++ hash namespace:        __gnu_cxx
   * C++ cmath location:        <cmath>
   * C++ cmath namespace:       std

And I am using  revno: 898


Thanks

Diego




_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to