<?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>Redefinition of MAX and MIN</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47443/redefinition-of-max-and-min</link><description>Small bug report: MAX and MIN are defined in param.h. nordic_common.h redefines these macros which creates warnings if param.h is also included. nordic_common.h should check if the macros are already defined before defining. 
 In the mean time, What is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 May 2019 08:31:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47443/redefinition-of-max-and-min" /><item><title>RE: Redefinition of MAX and MIN</title><link>https://devzone.nordicsemi.com/thread/187808?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 08:31:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8024ba0a-2211-4f08-aa01-64617a5788cb</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I guess either add a #ifndef to nordic_common.h or suppress the warning.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Redefinition of MAX and MIN</title><link>https://devzone.nordicsemi.com/thread/187704?ContentTypeID=1</link><pubDate>Fri, 17 May 2019 18:42:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfa2e895-f439-415e-b2c4-be515bbc235d</guid><dc:creator>nrbrook</dc:creator><description>&lt;p&gt;Well I could but I don&amp;#39;t want to modify an external dependency. I was thinking more along the lines of suppressing the warning. Haven&amp;#39;t managed to do that yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Redefinition of MAX and MIN</title><link>https://devzone.nordicsemi.com/thread/187699?ContentTypeID=1</link><pubDate>Fri, 17 May 2019 17:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a0afd7b-55ad-4f70-964f-76bebc24e917</guid><dc:creator>awneil</dc:creator><description>[quote userid="69018" url="~/f/nordic-q-a/47443/redefinition-of-max-and-min"]What is the best way to avoid this warning?[/quote]
&lt;p&gt;make the modification you suggested?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>