<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>error: Aborting due to Kconfig warnings - Cannot get it to ignore the warnings as errors</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121755/error-aborting-due-to-kconfig-warnings---cannot-get-it-to-ignore-the-warnings-as-errors</link><description>Hi. I&amp;#39;m trying to write a simple MQTT app. I am consistently getting these KConfig errors to do with variables I&amp;#39;m not using, and I have tried to set CMake to ignore these errors by calling -DKCONFIG_ERROR_ON_WARNINGS=OFF when I build. west build -p </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 May 2025 15:36:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121755/error-aborting-due-to-kconfig-warnings---cannot-get-it-to-ignore-the-warnings-as-errors" /><item><title>RE: error: Aborting due to Kconfig warnings - Cannot get it to ignore the warnings as errors</title><link>https://devzone.nordicsemi.com/thread/536995?ContentTypeID=1</link><pubDate>Mon, 26 May 2025 15:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe424ae4-58c7-4c45-ae6d-27ed8e6f1335</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Is there any specific reason why you want to supress warnings and errors during build process?&lt;br /&gt;&lt;br /&gt;For specifying Kconfig options in your build command, documentation shows how to &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/config_and_build/cmake/index.html#providing_cmake_options"&gt;provide CMake options&lt;/a&gt;. Additionally, Kconfig option CONFIG_ERROR_ON_WARNINGS does not seem to be a valid option in NCS v3.0.1. Can you provide details about it?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>