Re: make error : CC fccache.lo on MinGW32

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

 



I can't reproduce this on my box with gcc-4.8.2 on mingw so not sure
but that looks like a gcc bug to me. does it work with -O0 or
-fno-inline?

On Wed, Mar 12, 2014 at 11:50 AM, Tatsuro MATSUOKA
<tmacchant@xxxxxxxxxxx> wrote:
> Hello
>
> I have tried to build fontconfig-2.11.0 on MinGW32 (GCC-4.6.1).
>
> In the make process the following error appeared :
>
> ********************************************************************
> make[3]: Entering directory `/e/usr/Tatsu/mingw32work/gplibs32/fontconfig/fontconfig-2.11.0/src'
>   CC       fcatomic.lo
>   CC       fcblanks.lo
>   CC       fccache.lo
> In file included from fcint.h:50:0,
>                  from fccache.c:23:
> fccache.c: In function 'FcCacheIsMmapSafe':
> fcatomic.h:66:49: error: expected expression before ')' token
>  #define fc_atomic_ptr_get(P)  (HBMemoryBarrier (), (void *) *(P))
>                                                  ^
> fccache.c:66:25: note: in expansion of macro 'fc_atomic_ptr_get'
>      status = (intptr_t) fc_atomic_ptr_get (&static_status);
>                          ^
> fcatomic.h:66:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
>  #define fc_atomic_ptr_get(P)  (HBMemoryBarrier (), (void *) *(P))
>                                                   ^
> fccache.c:66:25: note: in expansion of macro 'fc_atomic_ptr_get'
>      status = (intptr_t) fc_atomic_ptr_get (&static_status);
>                          ^
> fccache.c: In function 'lock_cache':
> fcatomic.h:66:49: error: expected expression before ')' token
>  #define fc_atomic_ptr_get(P)  (HBMemoryBarrier (), (void *) *(P))
>                                                  ^
> fccache.c:269:10: note: in expansion of macro 'fc_atomic_ptr_get'
>    lock = fc_atomic_ptr_get (&cache_lock);
>           ^
> fcatomic.h:66:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
>  #define fc_atomic_ptr_get(P)  (HBMemoryBarrier (), (void *) *(P))
>                                                   ^
> fccache.c:269:10: note: in expansion of macro 'fc_atomic_ptr_get'
>    lock = fc_atomic_ptr_get (&cache_lock);
>           ^
> fccache.c: In function 'free_lock':
> fcatomic.h:66:49: error: expected expression before ')' token
>  #define fc_atomic_ptr_get(P)  (HBMemoryBarrier (), (void *) *(P))
>                                                  ^
> fccache.c:296:10: note: in expansion of macro 'fc_atomic_ptr_get'
>    lock = fc_atomic_ptr_get (&cache_lock);
>           ^
> fcatomic.h:66:50: warning: left-hand operand of comma expression has no effect [-Wunused-value]
>  #define fc_atomic_ptr_get(P)  (HBMemoryBarrier (), (void *) *(P))
>                                                   ^
> fccache.c:296:10: note: in expansion of macro 'fc_atomic_ptr_get'
>    lock = fc_atomic_ptr_get (&cache_lock);
>           ^
> make[3]: *** [fccache.lo] Error 1
> make[3]: Leaving directory `/e/usr/Tatsu/mingw32work/gplibs32/fontconfig/fontconfig-2.11.0/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/e/usr/Tatsu/mingw32work/gplibs32/fontconfig/fontconfig-2.11.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/e/usr/Tatsu/mingw32work/gplibs32/fontconfig/fontconfig-2.11.0'
> make: *** [all] Error 2
> ********************************************************************
> Any suggestions ?
>
> Regards
>
> Tatsuro
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux