Build Errors [resolved]

Build Errors [resolved]

Postby qubodup » 09 Jul 2012, 15:49

On ArchLinux 64bit:
{l Code}: {l Select All Code}
c++ -Wp,-M,-MP,-MT,build/source/de/hackcraft/log/LoggerEvent.o,-MF,dep/build-source-de-hackcraft-log-LoggerEvent.o.d -std=gnu++0x -Wall -I source -O1 -funroll-loops -c source/de/hackcraft/log/LoggerEvent.cpp -o build/source/de/hackcraft/log/LoggerEvent.o
c++ -Wp,-M,-MP,-MT,build/source/de/hackcraft/log/Logger.o,-MF,dep/build-source-de-hackcraft-log-Logger.o.d -std=gnu++0x -Wall -I source -O1 -funroll-loops -c source/de/hackcraft/log/Logger.cpp -o build/source/de/hackcraft/log/Logger.o
c++ -Wp,-M,-MP,-MT,build/source/de/hackcraft/log/LevelStreamLogger.o,-MF,dep/build-source-de-hackcraft-log-LevelStreamLogger.o.d -std=gnu++0x -Wall -I source -O1 -funroll-loops -c source/de/hackcraft/log/LevelStreamLogger.cpp -o build/source/de/hackcraft/log/LevelStreamLogger.o
source/de/hackcraft/log/LevelStreamLogger.cpp: In member function ‘void LevelStreamLogger::appendStream()’:
source/de/hackcraft/log/LevelStreamLogger.cpp:16:39: error: cast from ‘Uint32 (*)() {aka unsigned int (*)()}’ to ‘unsigned int’ loses precision [-fpermissive]
make: *** [build/source/de/hackcraft/log/LevelStreamLogger.o] Error 1

at
{l Code}: {l Select All Code}
$ git log -n 1
commit bdcfd0b44a404e69aae40a93cb01cb9b4863134b
...
Date:   Mon Jul 9 15:40:34 2012 +0200
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Re: Build Errors

Postby hc » 09 Jul 2012, 22:05

Thank you and fix is online.
github.com/hackcraft-de
hackcraft.de
User avatar
hc
LW3D Moderator
 
Posts: 213
Joined: 07 Feb 2011, 10:00
Location: far away

Re: Build Errors

Postby qubodup » 10 Jul 2012, 00:49

Thanks, it runs now. I was able to record a video: http://youtu.be/KaCWC3MvF98
User avatar
qubodup
Global Moderator
 
Posts: 1671
Joined: 08 Nov 2009, 22:52
Location: Berlin, Germany

Who is online

Users browsing this forum: No registered users and 1 guest