A new Steamworks SDK was released a few days ago, version 1.32 and after spending time trying to figure out why it wouldn’t compile. I determined that Steamworks now clobbers the ARRAY_COUNT macro from the UE.
It can be easily worked around by not using the MACRO in the particular parts of the code that get broken., but is there something else that should really be done?
We’ll have to try an official integration with the new SDK to see how we can work around this. I’ve asked for a ticket to be filed to get this underway.
That being said, have you tried any bit of #undef ARRAY_COUNT to see if it can be circumvented? You could try in the Steam PCH that we have, right after we include steam_api.h?
Which engine files? The idea would be to add back the engine version of ARRAY_COUNT after the #undef. I’m assuming adding an include in our steam cpps. I don’t expect that we need their Steam version ever.
I was able to fix this after more investigation. The undef/define did work, but I was missing the fact that SteamVR was also pulling the steam headers.
I submitted a pull request to make needed changes to the PCH headers for 4.7