Re: [flac-dev] Preprocessor error when trying to build integer-only

2013-04-21 Thread Erik de Castro Lopo
Martijn van Beurden wrote: Hi, I was wondering how much worse FLAC performance would be if it was compiled integer-only, but while trying to do so (by adding #define FLAC__INTEGER_ONLY_LIBRARY 1 to config.h, just on x86_64-linux) I got this error ./include/private/bitmath.h:134:5:

[flac-dev] Preprocessor error when trying to build integer-only

2013-04-19 Thread Martijn van Beurden
Hi, I was wondering how much worse FLAC performance would be if it was compiled integer-only, but while trying to do so (by adding #define FLAC__INTEGER_ONLY_LIBRARY 1 to config.h, just on x86_64-linux) I got this error ./include/private/bitmath.h:134:5: error: operator '' has no left

Re: [flac-dev] Preprocessor error when trying to build integer-only

2013-04-19 Thread Ulrich Klauer
Martijn van Beurden wrote: #if defined(__GNUC__) (__GNUC__ = 4 || (__GNUC__ == 3 __GNUC_MINOR__ = 4)) I really wonder why anyone would have left it like this. Maybe something went wrong? Removing the first solved the problem and it compiled nicely. I'd assume some kind of editing