<?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 when making custom makefile for BL Mesh project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25364/error-when-making-custom-makefile-for-bl-mesh-project</link><description>I am building a Bluetooth Mesh project and when trying to make a custom Makefile for the Mesh Light Control Example , but when compiling the project i get this error: 
 Compiling file: nrf_mesh.c
In file included from ../../nrf5_SDK_for_Mesh_v0.9.2</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Sep 2017 13:52:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25364/error-when-making-custom-makefile-for-bl-mesh-project" /><item><title>RE: Error when making custom makefile for BL Mesh project</title><link>https://devzone.nordicsemi.com/thread/99970?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 13:52:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01e358c5-37b6-4480-b28d-25ea52971294</guid><dc:creator>S&amp;#248;renHN</dc:creator><description>&lt;p&gt;Thank you for the fast answer Thomas.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error when making custom makefile for BL Mesh project</title><link>https://devzone.nordicsemi.com/thread/99969?ContentTypeID=1</link><pubDate>Thu, 21 Sep 2017 13:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:016a649c-fd22-4e85-978a-3dbd6801f6ac</guid><dc:creator>Thomas Stenersen</dc:creator><description>&lt;p&gt;Hi SørenHN,&lt;/p&gt;
&lt;p&gt;If you were unaware, CMake can generate Makefiles for you (this is the default generator on Unix-like systems).&lt;/p&gt;
&lt;p&gt;Run it with:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;mesh/build $ cmake -G &amp;quot;Unix Makefiles&amp;quot; &amp;lt;other options&amp;gt; ..
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To your question, the compiler is confused about integer sizes in the &lt;code&gt;printf&lt;/code&gt;-like formatting string. It&amp;#39;s the &lt;code&gt;SEGGER_RTT_printf()&lt;/code&gt; that handles this in the end and it &amp;quot;does the right thing&amp;quot;. You can safely add a &lt;code&gt;-Wno-format&lt;/code&gt; to your &lt;code&gt;CFLAGS&lt;/code&gt; to suppress the warning.&lt;/p&gt;
&lt;p&gt;Best,&lt;br /&gt;
Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>