On Wed, Mar 10, 2010 at 10:31 AM, Dave Partyka <[email protected]>wrote:
> My 2 cents would be that I think a good coding practice is to define these > in your source file instead of the header. Especially as it they doesn't > appear to be part of your API. Or even better is to make them const > variables. That way it will actually exist as a symbol that you can see in a > debugger and, I think, optimizations can be performed. > > Dave, Good suggestion about the #defines, but that was not the problem. The parser still chokes on the header with just one function defined: #ifndef FACTOR_INCLUDED #define FACTOR_INCLUDED //BTX double ArcTan2(const double& y,const double& x); //ETX #endif Thanks, David
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
