<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Compiling GDAL version 1.6.2's Kakadu based JPEG2000 support in&nbsp;</span></font><code><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 12px; ">frmts/jp2kak/jp2kakdataset.cpp</span></font></code><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">&nbsp;with gcc version 4.2.1 yields from the "Set some user-overridable parameters." section the following warning 15 times&nbsp;</span></font><code><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 12px; ">jp2kakdataset.cpp:2472: warning: deprecated conversion from string constant to ‘char*’.&nbsp;A small syntax change eliminates these warnings.&nbsp;You can download&nbsp;an updated jp2kakdataset.cpp that does not yield these compiler warnings from&nbsp;<a href="http://homepage.mac.com/gregcoats/jp2.html">http://homepage.mac.com/gregcoats/jp2.html</a></span></font></code></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Greg</span></font></div></body></html>