# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #127354]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127354 >


The warning NativeCall generates when the library version is unspecified needs 
to be removed, or at the very least a mechanism for silencing it must be 
provided.

[REASONS]:
1) The warnings should point out potential problems in programs, not dictate to 
the programmer some arbitrary "best practice." A warning generated by Nil eq 
"foo" is there because comparing a non-value with a string makes no sense and 
there's likely a problem with the program. Telling a programmer to specify an 
API version for a library the compiler knows nothing about is overreaching: 
there's no problem with the program.
2) As far as I can tell, currently it's impossible to specify more than one 
version; this is likely why there are several Ecosystem modules that chose to 
emit the warning in any program that uses the modules.

If there're objections with regard to removing the warning, I suggest a value 
of * can be interpreted as to mean "any version" (that is, as if it weren't 
specified).

Reply via email to