I see it in Visual Studio generation templates.
Curious if #pragma once is portable enough for all the C++ compilers we use for CC2Dx.
Anyone have any input?
I see it in Visual Studio generation templates.
Curious if #pragma once is portable enough for all the C++ compilers we use for CC2Dx.
Anyone have any input?
I use #pragma once
It works in GCC and Clang, thats good enough for my uses of cocos2d-x
Thank you for the response!
I am only planning on using Visual C++, GCC and Clang so far.