Adafruit Max31856 thermocouple amp and Max31865 RTD amp codes will not compile

Have you tried to use the commented out version of the constructor calls? As you're using the hardware SPI interface you should use the correct constructor. You cannot use the same pins for the bitbang interface.

And you shouldn't call both variables "max".