1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Two quick things:
-
The GameLift server SDK is designed for integration with game servers that are hosted on GameLift. GameLift only targets Windows and Amazon Linux EC2 hosts currently, so not a surprise that you are seeing some compiler issues building for the PS4 as its not something built internally.
-
Those pragma statements are mostly to avoid warnings on Visual Studio build chains due to https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4996?view=vs-2019#unsafe-crt-library-functions where Microsoft is suggesting you use the secure versions of some CRT functions ie instead of strcpy use strcpy_s.
It should be safe to hide them behind platform defines or remove them as you see fit.
con risposta 5 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 8 mesi fa