<p>Is there any reason not to use namespaces anymore?</p>
<div class="gmail_quote">On Mar 14, 2012 7:21 PM, "Bill Lorensen" <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Folks,<br>
<br>
A user recently reported that an enum value "DIFFERENCE" was defined<br>
by Visual Studio 2008. This caused compilation errors in the vtk class<br>
that defined and used it.<br>
<br>
VTK classes that define enums do not follow a consistent convention.<br>
Some use a VTK_ prefix, others do not.<br>
<br>
Without a unique prefix VTK may have compilation issues if, in the<br>
future, a compiler decides to define one of the values that we have<br>
created.<br>
<br>
I propose, that for VTK6, we establish a convention that enum values<br>
always have a prefix VTK_.<br>
<br>
About 370 vtk*.h files have an enum. I'm willing to take a stab at<br>
applying this convention throughout VTK.<br>
<br>
Bill<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div>