0x18B2EE / fog

Automatically exported from code.google.com/p/fog
0 stars 0 forks source link

Cannot build latest SVN versions #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is not possible for me to build Fog library with MSVC 2008 (amd64) for 
like 4 (maybe more) latest SVN commits. I get this:

[  1%] Building CXX object CMakeFiles/Fog.dir/Fog/Core/Application.cpp.obj
Application.cpp
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Include\math.h(136) : 
warn
ing C4985: 'ceil': attributes not present on previous declaration.
        c:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\Include\intrin.h(1
42) : see declaration of 'ceil'
C:\Development\fog\Fog\Fog\Core\Application.cpp(335) : warning C4244: 
'argument'
 : conversion from 'sysuint_t' to 'DWORD', possible loss of data
C:\Development\fog\Fog\Fog/Core/Atomic.h(70) : error C2664: 
'Fog::AtomicInt64::g
et' : cannot convert parameter 1 from 'const __int64 *' to 'int64_t *'
        Conversion loses qualifiers
        C:\Development\fog\Fog\Fog/Core/Atomic.h(69) : while compiling 
class tem
plate member function 'sysuint_t Fog::AtomicOperation<T>::get(const T *)'
        with
        [
            T=sysuint_t
        ]
        C:\Development\fog\Fog\Fog/Core/Atomic.h(124) : see reference to 
class t
emplate instantiation 'Fog::AtomicOperation<T>' being compiled
        with
        [
            T=sysuint_t
        ]
        C:\Development\fog\Fog\Fog/Core/Atomic.h(124) : while compiling 
class te
mplate member function 'sysuint_t Fog::Atomic<T>::get(void) const'
        with
        [
            T=sysuint_t
        ]
        C:\Development\fog\Fog\Fog/Core/String.h(117) : see reference to 
class t
emplate instantiation 'Fog::Atomic<T>' being compiled
        with
        [
            T=sysuint_t
        ]
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' : 
return
 code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 
9.0\
VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 
9.0\
VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.

Original issue reported on code.google.com by jardas...@gmail.com on 21 Dec 2009 at 10:13

GoogleCodeExporter commented 9 years ago
Hi,

This will be fixed soon, problem in Atomic. Increased priority to critical

Original comment by kobalicek.petr on 23 Dec 2009 at 9:18

GoogleCodeExporter commented 9 years ago
I hope this is fixed in trunk, please verify

Original comment by kobalicek.petr on 27 Dec 2009 at 10:13

GoogleCodeExporter commented 9 years ago
Marked as fixed, reopen if not:)

Original comment by kobalicek.petr on 27 Dec 2009 at 10:13