Re: [flac-dev] PATCH for cpu.c

2014-03-23 Thread Oliver Stöneberg
> Oliver Stöneberg wrote: > > > This is simply fixed by putting those unused constants into the > > proper defines. I attached a patch against git 70b078c. > > Unfortunately it breaks x86_64 build (where FLAC__CPU_X86_64 is defined, and > FLAC__CPU_IA32 isn't). Maybe it's simpler to turn them in

Re: [flac-dev] PATCH for cpu.c

2014-03-23 Thread lvqcl
Oliver Stöneberg wrote: >> Unfortunately it breaks x86_64 build (where FLAC__CPU_X86_64 is defined, and >> FLAC__CPU_IA32 isn't). Maybe it's simpler to turn them into #defines such as >> >> #define FLAC__CPUINFO_IA32_CPUID_CMOV 0x8000U >> #define FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD

Re: [flac-dev] PATCH for cpu.c

2014-03-23 Thread Oliver Stöneberg
> Oliver Stöneberg wrote: > > >> Unfortunately it breaks x86_64 build (where FLAC__CPU_X86_64 is defined, > >> and > >> FLAC__CPU_IA32 isn't). Maybe it's simpler to turn them into #defines such > >> as > >> > >> #define FLAC__CPUINFO_IA32_CPUID_CMOV 0x8000U > >> #define FLAC__CPUI

[flac-dev] #410 Incorrect HAVE_CONFIG_H checks

2014-03-23 Thread Oliver Stöneberg
Copying my report from sf.net: The source uses a mixture of "#ifdef HAVE_CONFIG_H" and "#if HAVE_CONFIG_H" checks. Judging from DEFS=-DHAVE_CONFIG_H in the configure I supposed it should be "#ifdef" in all cases. These incorrect checks cause build errors since it tries to include the config.h

Re: [flac-dev] #410 Incorrect HAVE_CONFIG_H checks

2014-03-23 Thread Erik de Castro Lopo
Oliver Stöneberg wrote: > Copying my report from sf.net: > > The source uses a mixture of "#ifdef HAVE_CONFIG_H" and "#if HAVE_CONFIG_H" > checks. Judging from > > DEFS=-DHAVE_CONFIG_H > > in the configure I supposed it should be "#ifdef" in all cases. These > incorrect > checks cause build er

Re: [flac-dev] #410 Incorrect HAVE_CONFIG_H checks

2014-03-23 Thread Oliver Stöneberg
> Oliver Stöneberg wrote: > > > Copying my report from sf.net: > > > > The source uses a mixture of "#ifdef HAVE_CONFIG_H" and "#if HAVE_CONFIG_H" > > checks. Judging from > > > > DEFS=-DHAVE_CONFIG_H > > > > in the configure I supposed it should be "#ifdef" in all cases. These > > incorrect