the error may be linked with something in your code where you are using that templatized class..<br>
<br>
as an example if u have <br>
<br>
template &lt;class T&gt;<br>
void myfun(T);<br>
<br>
and when calling this function u use<br>
<br>
myfun&lt;int&gt;(4); // this is explicit specialization of the template parameter<br>
myfun(4); // this is implicit specialization of the template parameter<br>
<br>
so this warning must be linked with some similar code...<br>
<br>
HTH,<br>
with regards,<br>
Ashish.<br><br><div><span class="gmail_quote">On 4/28/05, <b class="gmail_sendername">Kent Williams</b> &lt;<a href="mailto:norman-k-williams@uiowa.edu">norman-k-williams@uiowa.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I noticed a warning when I used gcc -pedantic to compile some code that<br>uses ITK.&nbsp;&nbsp;There were a bunch of warnings from gcc:<br><br>warning: explicit specialization not preceded by `template &lt;&gt;'<br><br>This goes back to 
itkMetaDataObject.h, and the NATIVE_TYPE_METADATAPRINT<br>macro.<br>That macro is used to define template specializations. I don't believe<br>its widely used, and you never see a warning if you don't use -pedantic.<br>At the same time, the only reason I could see for adding template &lt;&gt; to
<br>the template specializations is if there are compilers supported by ITK<br>that would choke on that syntax.<br><br>So, does anyone know of compilers that wouldn't like template &lt;&gt;?<br><br>_______________________________________________
<br>Insight-developers mailing list<br><a href="mailto:Insight-developers@itk.org">Insight-developers@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-developers">http://www.itk.org/mailman/listinfo/insight-developers
</a><br></blockquote></div><br><br><br>-- <br>Ashish Poddar<br>Have an acceptable reason for accepting anything.<br>Y:ashish_poddar | <a href="mailto:MSN:ashish_poddar@yahoo.com">MSN:ashish_poddar@yahoo.com</a>