<br><br><div class="gmail_quote">On Tue, Apr 29, 2008 at 11:19 AM, Glen W. Mabey <<a href="mailto:Glen.Mabey@swri.org">Glen.Mabey@swri.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Apr 29, 2008 at 11:24:56AM -0500, Charles R Harris wrote:<br>
> Hmm, something must be mucking with the sources. You can run conv_template on the pure file from the src directory with<br>
><br>
>  python ../../distutils/conv_template.py scalartypes.inc.src<br>
><br>
> However, when called from within python the routine also processes the include files and I suspect that may be the problem. Try going into distutils/conv_template and find the line<br>
><br>
> include_src_re = re.compile(r"(\n|\A)#include\s*['\"]"<br>
>                             r"(?P<name>[\w\d./\\]+[.]src)['\"]", re.I)<br>
><br>
><br>
> and replace it with<br>
><br>
> include_src_re = re.compile(r"(\n|\A)\s*#include\s*['\"]"<br>
>                             r"(?P<name>[\w\d./\\]+[.]src)['\"]", re.I)<br>
><br>
> Which should knock off any whitespace before #include. This is not a fix, but it might help us find the problem.<br>
<br>
</div>Humm.  I couldn't see any difference in the behavior.  Is there<br>
something that I should be looking for?<br>
<font color="#888888"></font></blockquote><div><br>Not really, it was just a shot in the dark. The thing is, if conv_python is being run on the same source each time, it should give the same result. So I suspect that something is changing the sources and that is what I'm trying to track down. One of the build guys should know...<br>
<br>Hmmm..., I notice that there is a line break in line 18 of scalartypes.inc.src that doesn't belong there. Could you fix that?<br><br>And the line number of the loop is 497, which is the loop before the one with PREFIX defined. For some reason the parser is missing the  /**end repeat**/ on line 509. Hmmm, try putting a blank line before it.<br>
<br>Just fishing here... Why that should happen with icc and not with gnu is a mystery.<br><br>Chuck<br></div></div><br>