Hello,<div><br></div><div>JC and I discovered some weird behavior in CTest where some warnings were being reported as errors in Build.xml. After some digging I found that the output was matching one of the cmCTestErrorMatches, specifically "([^ :]+):([0-9]+): ([^ \\t])".</div>
<div><br></div><div>This is occurring on gcc 4.2.1 on a mac. What's the justification for having this as an error regex?</div><div><br></div><div>Attached the relevant part of Build.xml.</div><div><br></div><div><br>
</div><div><div><Error></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><BuildLogLine>5438</BuildLogLine></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><Text> /usr/include/secure/_stdio.h:67:1: ,</div>
<div></Text></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><SourceFile>/Users/kitware/Dashboards/Nightly/Slicer-build-64bits-QT4.7-PythonQt-With-Tcl-NoCLI-Release-nightly/ /usr/include/secure/_stdio.h</SourceFile></div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span><SourceLineNumber>67</SourceLineNumber></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><PreContext> from /.../Slicer-build-64bits-QT4.7-PythonQt-With-Tcl-NoCLI-Release-nightly/cmcurl/setup.h:101,</div>
<div>-- Performing Test HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC - Success</div><div>-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC</div><div>[ 20%] yes</div><div>Building C object SRC/CMakeFiles/lapack.dir/sspevd.c.o</div>
<div>checking for mode_t... yes</div><div> from /.../Slicer-build-64bits-QT4.7-PythonQt-With-Tcl-NoCLI-Release-nightly/cmcurl/setup.h:101/.../Slicer-build-64bits-QT4.7-PythonQt-With-Tcl-NoCLI-Release-nightly/cmcurl/slicerlibcurl/slicerlibcurl/mprintf.h:48:1:,</div>
<div> from /.../Slicer-build-64bits-QT4.7-PythonQt-With-Tcl-NoCLI-Release-nightly/cmcurl/hostsyn.c:24 :</div><div></PreContext></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><PostContext> from /.../Slicer-build-64bits-QT4.7-PythonQt-With-Tcl-NoCLI-Release-nightly/cmcurl/hostthre.c:24warning: In file included from /.../Slicer-build-64bits-QT4.7-PythonQt-With-Tcl-NoCLI-Release-nightly/cmcurl/http_digest.c:44:</div>
<div>warning: :</div><div>warning: this is the location of the previous definition/.../Slicer-build-64bits-QT4.7-PythonQt-With-Tcl-NoCLI-Release-nightly/cmcurl/slicerlibcurl/slicerlibcurl/mprintf.h:49:1:/usr/include/secure/_stdio.h:60:1:"vsprintf" redefined</div>
<div><br></div><div>checking for pid_t... [ 20%] Building C object SRC/CMakeFiles/lapack.dir/sspevx.c.o</div><div>yes</div><div>checking for size_t... yes</div><div>checking for uid_t in sys/types.h... yes</div><div>checking pw_gecos in struct pwd... -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Success</div>
<div>[ 20%] -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC</PostContext></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><RepeatCount>0</RepeatCount></div><div></Error></div>
<div><br></div><div>Thanks,</div><br>-- <br>Zach Mullen<div>R & D Engineer<br>Kitware Inc.<br>(919) 969-6990 x314</div><br>
</div>