Compile Warning

I use defold 1.2.147, when I build win32, It comes out the following warning:


How can I solve this?

Short answer, you cannot fix the deprecation warning.
Also, it’s a warning that shouldn’t actually affect the end result.

We have a ticket DEF-3084 to compile .c files using clang (as opposed to using clang++ which we do now).

If you really need it to go away, you can rename the file to .cpp but then the C++ rules apply as well, and you might need to change more things.

4 Likes