Opened 10 years ago

Closed 10 years ago

#44885 closed defect (fixed)

gifsicle: universal variant fails

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: Cc:
Port: gifsicle

Description

gifsicle.c:1316:3: error: duplicate case value '0'
  static_assert(sizeof(unsigned long) == SIZEOF_UNSIGNED_LONG, "unsigned long has the wrong size.");
  ^
gifsicle.c:24:63: note: expanded from macro 'static_assert'
#define static_assert(x, msg) switch ((int) (x)) case 0: case !!((int) (x)):
                                                              ^
gifsicle.c:1316:3: note: previous case defined here
gifsicle.c:24:55: note: expanded from macro 'static_assert'
#define static_assert(x, msg) switch ((int) (x)) case 0: case !!((int) (x)):
                                                      ^
gifsicle.c:1317:3: error: duplicate case value '0'
  static_assert(sizeof(void*) == SIZEOF_VOID_P, "void* has the wrong size.");
  ^
gifsicle.c:24:63: note: expanded from macro 'static_assert'
#define static_assert(x, msg) switch ((int) (x)) case 0: case !!((int) (x)):
                                                              ^
gifsicle.c:1317:3: note: previous case defined here
gifsicle.c:24:55: note: expanded from macro 'static_assert'
#define static_assert(x, msg) switch ((int) (x)) case 0: case !!((int) (x)):
                                                      ^
2 errors generated.

Change History (1)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Fixed in r125262.

Note: See TracTickets for help on using tickets.