Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > Fft.h usage of _X and _W Owner: cpow New post
Page 1 of 1 Sort:  
Fft.h usage of _X and _W Posted: 2013-09-18 14:59 Reply | Quote
cpow

Avatar

Member for: 5047 days
Location: Minneapolis, MN, USA
Status: Offline

#51370
In this topic on compiling Qt FamiTracker in OpenBSD, Imperial stumbled onto an error caused by the usage of _X [and, though I didn't get confirmation of this, perhaps also _W] variable names in the Fft.h file's declaration of two arrays of Complex objects. The error was avoided by renaming the _X and _W variables. Likely the cause was something somewhere in OpenBSD land defining _X as a number macro. This does not happen on Windows, Linux, or OSX. I am posting this so that MFC FamiTracker, the basis for Qt FamiTracker, can be updated to avoid this.

Good news, though...it seems Qt FamiTracker now runs on OpenBSD.

Posted: 2013-10-08 00:22 Reply | Quote
jsr
Administrator

Avatar

Member for: 7334 days
Location: Sweden
Status: Offline

#51765
Thanks for letting me know, I'll fix this in some way. I might need to replace or remove that FFT library actually since I'm unsure about the license, and it has only been used for visualization so it's not really needed either.

I had some ideas of trying to use it for FDS wave editing though, that's one reason I've kept it so far.

_______________________
Programmer and developer
Page 1 of 1 Sort: