deepnight / gameBase

Base structure for my games, using Heaps framework and Haxe language.
https://deepnight.net
MIT License
606 stars 149 forks source link

Warning : (WDeprecated) `@:enum abstract` is deprecated in favor of `enum abstract` ? #100

Closed max6186 closed 1 year ago

max6186 commented 1 year ago

I don't know why "@:enum" is the issue and I was think if delete the "@:" from every single one is a good idea or not?

Log.txt

deepnight commented 1 year ago

Yes,

@:enum abstract Xyz 

is the same as

enum abstract Xyz

However, the warnings refer to various haxelibs, so you may need to create a proper PR for them on git to get all the warnings fixed for good.

kLabz commented 1 year ago

Alternatively, you can compile with -w -WDeprecated to disable those warnings

max6186 commented 1 year ago

I did get the haxelibs by compile "setup.hxml" from the root.