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


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to