Are you just using normal 4.27? The errors just look like those caused by a newer clang version than what is supported.
For console you should be using 4.27-plus branch. The normal branch doesn’t get updated to the newer SDKs. If you grab the latest associated PS4 files then SDK 10 up to 10.008.011 should work. If you want to use the SDK you have I think you need the PS4 files before September last year.
If you don’t want to switch branch then you may be able to get away with just adding the extra compile flags to PS4ToolChain.cs to nobble the warnings, but there may be other changes associated with that SDK - so I wouldn’t recommend it unless you know what parts may be impacted.