retitle -1 name space pollution: FLAC/assert.h conflicts with <assert.h>

Just to be sure, this is in no way related to boost at all. The
following code fails to compile when -I/usr/include/FLAC is passed to
the compiler command line:

$ cat test.c 
#include <assert.h>

int main()
{
        assert (0);
        return 0;
}

$ gcc test.c 
$ gcc test.c -I/usr/include/FLAC
/tmp/ccxq8IHb.o: In function `main':
test.c:(.text+0xf): undefined reference to `assert'
collect2: error: ld returned 1 exit status

 - Fabian

_______________________________________________
pkg-multimedia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to