<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Disable SIL2 warning 'Safe POU call to non safe library function is not allowed'</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b5b652785b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b5b652785b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/b5b652785b/</id><updated>2020-02-27T14:17:08.797000Z</updated><subtitle>Recent posts to Disable SIL2 warning 'Safe POU call to non safe library function is not allowed'</subtitle><entry><title>Disable SIL2 warning 'Safe POU call to non safe library function is not allowed'</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b5b652785b/?limit=25#8f0b" rel="alternate"/><published>2020-02-27T14:17:08.797000Z</published><updated>2020-02-27T14:17:08.797000Z</updated><author><name>mjuzwiak</name><uri>https://forge.codesys.com/u/mjuzwiak/</uri></author><id>https://forge.codesys.com79ee2e3775614289a73e23767939fa4eba9e5f11</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Bump.&lt;/p&gt;
&lt;p&gt;Any idea how to do that?&lt;/p&gt;
&lt;p&gt;PLC I'm using is forcing such calls and number of warnings is overwhelming and may cover real, important warnings&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Disable SIL2 warning 'Safe POU call to non safe library function is not allowed'</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b5b652785b/?limit=25#2ef0" rel="alternate"/><published>2020-02-27T14:17:08.404000Z</published><updated>2020-02-27T14:17:08.404000Z</updated><author><name>mjuzwiak</name><uri>https://forge.codesys.com/u/mjuzwiak/</uri></author><id>https://forge.codesys.com9588deaa990dad6aff76060b48f993ba1378c0ff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Using Codesys V3 with SIL2 extensions. &lt;br/&gt;
I need to call non safety related code from Safe POU. It results in multiple following warnings in 'Safety SIL2 extension' message area:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;WARNING&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt;       &lt;/span&gt;&lt;span class="n"&gt;Safe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;POU&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;call&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;non&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;safe&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;library&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;function&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;is&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="ow"&gt;not&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;allowed&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'methodName'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;calls&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'FB_Name'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;library&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'LibraryName'&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;It's done on purpose, so I want to ignore this warning and not show it on list during compilation. &lt;br/&gt;
How to ignore this warning?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>