If your code doesn't compile, is it the fault of your code or the compiler?

If it's a compiler millions of people have used for years?

It's definitely the fault of your code.

If it's a compiler you just wrote and are using for the second time?

It's definitely the fault of the compiler.

This is true for the weirdness of a library too.