Opened 13 years ago

Closed 12 years ago

#90 closed defect (fixed)

libcaca fails to build with clang on darwin

Reported by: Jeremy Huddleston Owned by: Sam Hocevar
Priority: major Milestone:
Component: port: OS X Version: SVN
Keywords: Cc:
Product: libcaca

Description

clang is stricter. This was previously a warning with gcc, and it is now an error with clang.

--- caca/caca.h.orig 2011-07-05 00:09:51.000000000 -0700 +++ caca/caca.h 2011-07-05 00:10:10.000000000 -0700 @@ -645,7 +645,7 @@ typedef struct cucul_buffer cucul_buffer

# define CACA_DEPRECATED # endif

-# if defined GNUC && GNUC > 3 +# if !defined APPLE && defined GNUC && GNUC > 3

# define CACA_ALIAS(x) attribute ((weak, alias(#x))) # else # define CACA_ALIAS(x)

Change History (1)

comment:1 Changed 12 years ago by Sam Hocevar

Resolution: fixed
Status: newclosed

Thanks. This is fixed in trunk. Sorry for the massive delay!

Note: See TracTickets for help on using tickets.