[MacPorts] #63490: libdazzle @3.38.0_0: Static assert failure on PowerPC
MacPorts
noreply at macports.org
Thu Sep 16 05:33:19 UTC 2021
#63490: libdazzle @3.38.0_0: Static assert failure on PowerPC
-------------------------+--------------------
Reporter: evanmiller | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: libdazzle |
-------------------------+--------------------
Comment (by kencu):
This works properly:
{{{
$ cat packcheck.c
#include <stdio.h>
#include <stdint.h>
int main(void) {
typedef struct __attribute__((packed))
{
uint32_t id : 32;
uint16_t pos : 16;
} KenStruct;
KenStruct mystruct;
printf("%i\n\n", sizeof(KenStruct));
return 0;
}
}}}
{{{
$ gcc-mp-7 packcheck.c
tigerg5:~ cunningh$ ./a.out
6
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63490#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list