Josh Coalson
2004-Sep-10 16:45 UTC
[Flac-dev] FLAC/assert.h overwrites /usr/include/assert.h?
Let me pass this on to the dev group. I haven't seen this but I never install to /usr. I would think that it should still end up in /usr/include/FLAC/assert.h... maybe automake is handling the file specially because of the name? Josh --- Kyle Sallee <cromwell@kublai.com> wrote:> It's installation overwrites /usr/include/assert.h > which is isntalled by glibc, thus causing many other programs > to fail during compilation. Perhaps flac's assert.h could > be renamed to flac_assert.h to avoid the endless trouble > caused by overwritting the assert.h installed by glibc, please?__________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com
Brady Patterson
2004-Sep-10 16:45 UTC
[Flac-dev] FLAC/assert.h overwrites /usr/include/assert.h?
I always use --prefix, and it gets put in the right place (<prefix>/include/FLAC/assert.h), which I'm sure sheds no new light on this. I'd still like to know why FLAC__ASSERT() is necessary. K&R is very clear that the preprocessor is to remove calls to assert() if NDEBUG is defined. (Some compilers, including gcc, implicitly define NDEBUG when optimizing, but of course it can also be explicitly defined, which is in fact done by default by configure.in .) So, does MSVC's assert.h just not have the appropriate #ifdef NDEBUG ? Or am I missing something? -- Brady Patterson (brady@spaceship.com) How come I can't hurt this damn turtle?
Matt Zimmerman
2004-Sep-10 16:45 UTC
[Flac-dev] FLAC/assert.h overwrites /usr/include/assert.h?
On Wed, Jul 10, 2002 at 01:27:42PM -0700, Josh Coalson wrote:> Let me pass this on to the dev group. I haven't seen this > but I never install to /usr. I would think that it should > still end up in /usr/include/FLAC/assert.h... maybe automake > is handling the file specially because of the name?With configure --prefix=/usr, everything ends up where it should. /usr/include/FLAC/all.h /usr/include/FLAC/assert.h /usr/include/FLAC/file_decoder.h /usr/include/FLAC/format.h /usr/include/FLAC/metadata.h /usr/include/FLAC/ordinals.h /usr/include/FLAC/seekable_stream_decoder.h /usr/include/FLAC/stream_decoder.h /usr/include/FLAC/stream_encoder.h -- - mdz