ps2dev / gsKit

gsKit is a C interface to the PS2 Graphics Synthesizer
Other
103 stars 27 forks source link

gsInline.h violates C90 forbids mixed declarations and code #54

Closed madebr closed 1 year ago

madebr commented 1 year ago

gsInline.h declares the variable p_heap in between code.

https://github.com/ps2dev/gsKit/blob/23fe1eedc299202c64ec0cdbf0824dba47f7087c/ee/gs/include/gsInline.h#L48-L55

This blocks SDL to enable -Werror on the ps2 port.

Relevant build log