Opened 11 months ago

Closed 8 months ago

#68860 closed defect (fixed)

uxn @20231125_0 fails to build on 10.6 for ppc: error: redefinition of typedef ‘Sint8’

Reported by: barracuda156 Owned by: aeiouaeiouaeiouaeiouaeiouaeiou
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: snowleopard, leopard, powerpc Cc:
Port: uxn

Description

/opt/local/include/SDL2/SDL_stdinc.h:192: error: redefinition of typedef ‘Sint8’
src/uxn.h:22: error: previous declaration of ‘Sint8’ was here
/opt/local/include/SDL2/SDL_stdinc.h:198: error: redefinition of typedef ‘Uint8’
src/uxn.h:21: error: previous declaration of ‘Uint8’ was here
/opt/local/include/SDL2/SDL_stdinc.h:204: error: redefinition of typedef ‘Sint16’
src/uxn.h:24: error: previous declaration of ‘Sint16’ was here
/opt/local/include/SDL2/SDL_stdinc.h:210: error: redefinition of typedef ‘Uint16’
src/uxn.h:23: error: previous declaration of ‘Uint16’ was here
/opt/local/include/SDL2/SDL_stdinc.h:222: error: redefinition of typedef ‘Uint32’
src/uxn.h:25: error: previous declaration of ‘Uint32’ was here
In file included from src/uxnemu.c:15:
src/devices/audio.h:12: error: redefinition of typedef ‘Sint32’
/opt/local/include/SDL2/SDL_stdinc.h:216: error: previous declaration of ‘Sint32’ was here

uxn @20230217_0 installed fine.

Change History (3)

comment:1 Changed 11 months ago by aeiouaeiouaeiouaeiouaeiouaeiou

Does removing *gcc* from the blacklist helps? By default, the developers of this app only run tests in Clang on macOS (you can also see numerous references to clang-format in the code).

comment:2 in reply to:  1 Changed 11 months ago by barracuda156

Replying to aeiouaeiouaeiouaeiouaeiouaeiou:

Does removing *gcc* from the blacklist helps? By default, the developers of this app only run tests in Clang on macOS (you can also see numerous references to clang-format in the code).

I am pretty sure I ran with build with gcc, since no clang works properly for ppc. But will verify just in case.

comment:3 Changed 8 months ago by aeiouaeiouaeiouaeiouaeiouaeiou

Owner: set to aeiouaeiouaeiouaeiouaeiouaeiou
Resolution: fixed
Status: newclosed

In 399622c179a2a07c57572d2e13a8bb947e576190/macports-ports (master):

uxn: update to 20240302

Closes: #68860

Note: See TracTickets for help on using tickets.