I am compiling the examples in 
<https://github.com/khchen/winim/tree/master/examples/clr> with latest 
cloned-and-compiled nim 1.7.1, but there is a lot of informations(mainly 
`Hints`, I think it is a kind of warning, am I right?)
    
    
    $ nim c simple_gui.nim
    Hint: used config file 'E:\msys64\home\USER\_nim\nim\config\nim.cfg' [Conf]
    Hint: used config file 'E:\msys64\home\USER\_nim\nim\config\config.nims' 
[Conf]
    
................................................................................................................................
    C:\Users\USER\.nimble\pkgs\winim-3.9.0\winim\clr.nim(218, 37) 
template/generic instantiation of `fmt` from here
    (1, 3) template/generic instantiation of `toHex` from here
    E:\msys64\home\USER\_nim\nim\lib\pure\strutils.nim(954, 13) Warning: target 
type is larger than source type [CastSizes]
    C:\Users\USER\.nimble\pkgs\winim-3.9.0\winim\clr.nim(737, 7) Hint: 
'RuntimeHelp' should be: 'runtimeHelp' [Name]
    C:\tmp\winim-master\examples\clr\simple_gui.nim(43, 5) Hint: 'Size' should 
be: 'size' [Name]
    C:\tmp\winim-master\examples\clr\simple_gui.nim(44, 5) Hint: 'Point' should 
be: 'point' [Name]
    CC: E:/msys64/home/USER/_nim/nim/lib/system/ansi_c.nim
    ...
    Hint:  [Link]
    
    
    Run

However if nim 1.6.6 is used, the output information is nicly short:
    
    
    $ /c/tmp/nim-1.6.6/bin/nim c simple_gui.nim
    Hint: used config file 'C:\tmp\nim-1.6.6\config\nim.cfg' [Conf]
    Hint: used config file 'C:\tmp\nim-1.6.6\config\config.nims' [Conf]
    
.......................................................................................................................
    CC: stdlib_digitsutils.nim
    ...
    Hint:  [Link]
    
    
    Run

I know nothing about `{.push hint[Name]: off.}` which I met hours ago in 
<https://github.com/khchen/winim/issues/89#issuecomment-1218201067> .

So why `{.push hint[Name]: off.}` in clr.nim can't kill 
`C:\Users\USER\.nimble\pkgs\winim-3.9.0\winim\clr.nim(737, 7) Hint: 
'RuntimeHelp' should be: 'runtimeHelp' [Name]`? And how can we get rid off all 
`Hint:`?

Thanks

Reply via email to