Hello David<br><br>I've added an <br>int foo; <br>unused variable in a project and compiled in Visual STudio 9 showing the following warning:<br><br>warning C4101: 'foo' : unreferenced local variable<br><br>However, when I submit a Experimental Build to Dash, the warning is not shown in the server, and the build.xml contains:<br>
<br><span style="font-family: garamond,serif;"><?xml version="1.0" encoding="UTF-8"?></span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;"><Site BuildName="SegmentationLib.sta.Win32-vs9-Release"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    BuildStamp="20100427-1707-Experimental"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    Name="FRINK"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    Generator="ctest-2.8.0"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    CompilerName="cl"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    OSName="Windows"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    Hostname="Frink"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    OSRelease="Vista"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    OSVersion=" (Build 7600)"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    OSPlatform="x86"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    Is64Bits="0"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    VendorString="GenuineIntel"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    VendorID="Intel Corporation"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    FamilyID="6"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    ModelID="7"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    ProcessorCacheSize="-1"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    NumberOfLogicalCPU="1"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    NumberOfPhysicalCPU="2"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    TotalVirtualMemory="2047"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    TotalPhysicalMemory="0"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    LogicalProcessorsPerPhysical="2"</span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    ProcessorClockFrequency="2996"</span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">></span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;"><Build></span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    <StartDateTime>Apr 27 19:07 Hora de verano romance</StartDateTime></span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    <StartBuildTime>1272388059</StartBuildTime></span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;"><BuildCommand>C:\PROGRA~2\MICROS~1.0\Common7\IDE\<a href="http://devenv.com">devenv.com</a> SegmentationLib.sln /build Release /project ALL_BUILD</BuildCommand></span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    <Log Encoding="base64" Compression="/bin/gzip"></span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    </Log></span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">    <EndDateTime>Apr 27 19:07 Hora de verano romance</EndDateTime></span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;">    <EndBuildTime>1272388059</EndBuildTime></span><br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;"><ElapsedMinutes>0</ElapsedMinutes></Build></span><br style="font-family: garamond,serif;"><span style="font-family: garamond,serif;"></Site></span><br style="font-family: garamond,serif;">
<br>as you can see, there are no warnings reported<br><br><br>In GCC 3.4.5, the same warning:<br>C:/work/projects/ALMA_Segmentation/SegmentationLib/Code/Segmentation.cpp: In member function `void alma::SegmentationLib::EventObserver::Initialize(alma::SegmentationLib::Progress*, size_t, size_t)':<br>
C:/work/projects/ALMA_Segmentation/SegmentationLib/Code/Segmentation.cpp:307: warning: unused variable 'foo'<br><br>But when performing "make Experimental" on the command line, the CDash submission has 0 warnings... and the corresponding xml file has no trace of warnings also:<br>
<br><font style="font-family: garamond,serif;" size="2"><Site BuildName="SegmentationLib.sta.MinGW-gcc345-Debug" BuildStamp="20100427-1711-Experimental" Name="FRINK" Generator="ctest-2.8.0" CompilerName="C:/MinGW/bin/c++.exe" OSName="Windows" Hostname="Frink" OSRelease="Vista" OSVersion=" (Build 7600)" OSPlatform="x86" Is64Bits="0" VendorString="GenuineIntel" VendorID="Intel Corporation" FamilyID="6" ModelID="7" ProcessorCacheSize="-1" NumberOfLogicalCPU="1" NumberOfPhysicalCPU="2" TotalVirtualMemory="2047" TotalPhysicalMemory="0" LogicalProcessorsPerPhysical="2" ProcessorClockFrequency="2996"><br>
−<br><Build><br><StartDateTime>Apr 27 19:11 Hora de verano romance</StartDateTime><br><StartBuildTime>1272388316</StartBuildTime><br><BuildCommand>C:/msys/1.0/bin/make.exe -i</BuildCommand><br>
<Log Encoding="base64" Compression="/bin/gzip"><br>    </Log><br><EndDateTime>Apr 27 19:11 Hora de verano romance</EndDateTime><br><EndBuildTime>1272388318</EndBuildTime><br>
<ElapsedMinutes>0</ElapsedMinutes><br></Build><br></Site></font><br><br><br>By the way we do not use CTEST_USE_LAUNCHERS as far as I know<br><br>Regards, Sergio<br><br><br><div class="gmail_quote">
On Tue, Apr 27, 2010 at 12:45 PM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If there are no warnings in the Build.xml file, then ctest did not detect any warnings.<div><br></div><div>What is the text of the warnings you see if you do a build manually that has no errors....?</div><div><br></div><div>

If you run one of the compile command lines that produces warnings, what does the compiler return to the shell? Is it 0, or non-zero?</div><div><br></div><div>Are you using CTEST_USE_LAUNCHERS?</div><div><br></div><div><br>

</div><div>Let us know,</div><div>David</div><div><div></div><div class="h5"><div><br></div><div><br><div class="gmail_quote">On Tue, Apr 27, 2010 at 4:23 AM, Sergio Vera <span dir="ltr"><<a href="mailto:sergio.vera@alma3d.com" target="_blank">sergio.vera@alma3d.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello<br><br>We have noticed that in our CDash server, the warning column (build group) only shows compilation warnings when there are compilation errors. When there are no compilation errors, the warnings are not shown. (It seems to happen regardless of the compiler)<br>


<br>I've look at Build xml files and it's true that on those cases the xml has no sign of warnings.<br><br>I don't know if this it's a normal behavior or its a CMake/CTest/CDash.<br><br>How can I make the warnings to be shown on CDash even when no compilation errors appear in the build process?<br>


<br>Thanks<br><br><div class="gmail_quote">On Fri, Apr 16, 2010 at 8:28 PM, Julien Jomier <span dir="ltr"><<a href="mailto:julien.jomier@kitware.com" target="_blank">julien.jomier@kitware.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On behalf of the CDash development team, I'm pleased to announce that CDash 1.6.4 is available for download at: <a href="http://www.cdash.org" target="_blank">http://www.cdash.org</a>.<br>
<br>
This is a patch release for the 1.6 branch and therefore doesn't require any upgrade to the database. To upgrade, just replace the source files (and keep your cdash/config.local.php).<br>
<br>
This release fixes the following issues:<br>
<br>
  * CDash sends emails even when categories are disabled<br>
  * Missing client_jobschedule table columns<br>
  * Shared project repositories not updated correctly<br>
  * Improved command lines Build Error/Warning Display<br>
  * Subscription can be altered even if not admin<br>
  * Site description repeatedly escapes special characters<br>
<br>
If you have any problems or find any bugs, please report them at<br>
<a href="http://www.cdash.org/Bug" target="_blank">www.cdash.org/Bug</a>.<br>
<br>
Happy CDashing,<br>
Julien<br>
<br>
_______________________________________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com" target="_blank">www.alma3d.com</a><br>


<br>_______________________________________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>