The following very simple example does not compile with: g++ flac.cpp -o flac `pkg-config --cflags flac++`
int main (int argc, char** argv)
Compiler output: flac.cpp:6: error: ‘assert’ was not declared in this scope.
Now I know I can also compile this sample with g++ flac.cpp -o flac but this can break things if a distribution decides to put the headers in a nonstandard place.
Please rename assert.h in the FLAC include dir to flacassert.h or something.
Log in to post a comment.