Hello,
I'm having problems getting swfote to compile using OSX Mavericks, which I believe I've concluded after my research compiles with C99. (Forgive me if I'm wrong)
Aside from Warnings which I believe I can fix, I'm getting an error out of mud.c for the following
typedef unsigned char bool - cannot combine with previous argument char.
After looking this up on the net, I believe the issue is that C99 doesn't like "bool" and wants me to use _Bool. I have tried rephrasing it to typedef _Bool Boolean and then replacing every instance of bool with _Bool, but that isn't working. I also tried including stdbool.h after I found that online, but that didn't work either.
Any suggestions to get this working? Also, is there a way to make the compiler reference a different version that doesn't conflict with the usage of bool instead?
I read online about doing gcc - std c90 in the makefile or something to that effect but it didn't work and I'm not confident I did it right. I used to code back in high school and I recall swfote compiling perfectly straight out of the box on my old system running Cygwin on a Windows XP machine.
I'm having problems getting swfote to compile using OSX Mavericks, which I believe I've concluded after my research compiles with C99. (Forgive me if I'm wrong)
Aside from Warnings which I believe I can fix, I'm getting an error out of mud.c for the following
typedef unsigned char bool - cannot combine with previous argument char.
After looking this up on the net, I believe the issue is that C99 doesn't like "bool" and wants me to use _Bool. I have tried rephrasing it to typedef _Bool Boolean and then replacing every instance of bool with _Bool, but that isn't working. I also tried including stdbool.h after I found that online, but that didn't work either.
Any suggestions to get this working? Also, is there a way to make the compiler reference a different version that doesn't conflict with the usage of bool instead?
I read online about doing gcc - std c90 in the makefile or something to that effect but it didn't work and I'm not confident I did it right. I used to code back in high school and I recall swfote compiling perfectly straight out of the box on my old system running Cygwin on a Windows XP machine.