I noticed some warnings about this visibility attribute when I compiled code 
produced by Cil. From just a couple minutes of googling and poking around the 
code, it looks like this has something to do with linking. Cil is applying the 
attribute to local temp variables that get the return value from library 
functions (from libuv) that are marked with it.

First, is this an issues anyone else has run into? For now it’s just producing 
some annoying warnings, but I’d prefer having some clean way to avoid spurious 
warnings.

Any thoughts on how to deal with this? My first thought is to write a simple 
visitor that scrubs visibility attributes from local variables.

Thanks,
Ben
------------------------------------------------------------------------------
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to