NIST STS incorrect results for sample files
Don't worry about it :-)

The documentation is "Revised:April2010".  The latest code implementation is (officially) dated July 9, 2014 and commented as "This update has a few minor corrections to the source code. The first change corrects the non-overlapping template test to make it correctly skip bits when a sequence matches.  The second change is to correct the $\pi$ values in the overlapping template test."

The NIST programmers aren't the best, and there might be other later tweaks to the source code.  I don't know how many "few" is, and they don't say.  I haven't gone through all of the individual source files.  Revisioning comments are effectively non existent. Your compiler errors can be ignored, they're only warnings and my (and others) experience of the code is that it works if your samples are large enough. 1 million bits is a good starting size.

A P of 0.534146 is a good result, and shows $\pi$ passing your randomness tests pretty well. The other test files ($\sqrt{2}$ et al) should also give you almost perfect scores but might differ slightly from those documented.

It's just a minor bug fix.