[Paraview] SYNTAX ERROR found in parsing the header file (BTX ETX didn't work)
David Doria
daviddoria at gmail.com
Wed Mar 10 10:40:06 EST 2010
On Wed, Mar 10, 2010 at 10:31 AM, Dave Partyka <dave.partyka at kitware.com>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100310/49e555e1/attachment.htm>
More information about the ParaView
mailing list