simonkrauter / NiGui

Cross-platform desktop GUI toolkit written in Nim
MIT License
724 stars 49 forks source link

Warning: use {.base.} for base methods; baseless methods are deprecated #64

Closed nnahito closed 5 years ago

nnahito commented 5 years ago

I started using NiGui. However, the following warning appears when the compile command is executed.

C:\Users\nnahito\Desktop\NiGui-master\src\nigui.nim(466, 8) Warning: use {.base.} for base methods; baseless methods are deprecated [UseBase]        
C:\Users\nnahito\Desktop\NiGui-master\src\nigui.nim(477, 8) Warning: use {.base.} for base methods; baseless methods are deprecated [UseBase]        
C:\Users\nnahito\Desktop\NiGui-master\src\nigui.nim(497, 8) Warning: use {.base.} for base methods; baseless methods are deprecated [UseBase]
.....

Is this all right?


My environments:

simonkrauter commented 5 years ago

The warnings are correct, the code needs to be adjusted, but it still works. Leaving this open as reminder to fix the warnings.