Bug#705601: libflac-dev conflicting with boost::shared_ptr
Fabian Greffrath
fabian at greffrath.com
Sat Apr 20 09:32:13 UTC 2013
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
More information about the pkg-multimedia-maintainers
mailing list