Sure, I can add a nightly build, and post to dashboard.
Indeed, we have some old gcc versions.
Thanks
M

On 28 Jul 2014, at 18:11, Sascha Zelzer 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

This is either a false positive from gcc 4.4 or a regression in gcc 4.6.

Please note that the minimum gcc version on Linux supported by the MITK team 
directly for 2014.03 is the default gcc from Ubuntu 12.04 (which is gcc 4.6). 
If you need continued support for gcc 4.4 you might want to consider submitting 
a CDash nightly client to the MITK dashboard so we can keep an eye on possible 
regressions in the future.

We could add an additional condition for the Connectomics modules at the 
location you pointed to, like ${GCC_VERSION} VERSION_EQUAL "4.6".

Best,
Sascha

On 07/16/2014 03:48 PM, Clarkson, Matt wrote:

Hi there,


we updated our MITK to 2014.03, and I now get the error pasted below. I'm on 
Scientific Linux, 6.1, with gcc 4.4.7-4, and I only get it when building in 
Release and not Debug mode. Interestingly:


https://github.com/MITK/MITK/blob/master/Modules/DiffusionImaging/Connectomics/CMakeLists.txt#L13


So, this has come up before with versions 4.8(+), What motivated the choice of 
4.8(+)​​


Even more interestingly, our nightly builds on gcc 4.6.3, 4.6.4, 4.8.1, 4.8.2 
all seem to complete.


So, what to do?


If someone can advise me, I can prepare a patch.


Thanks


Matt



cc1plus: warnings being treated as errors
In file included from 
/scratch0/NOT_BACKED_UP/clarkson/build/NifTK-SuperBuild-Release/Boost-install/include/boost/graph/adjacency_list.hpp:246,
                 from 
/scratch0/NOT_BACKED_UP/clarkson/build/NifTK-SuperBuild-Release/MITK-src/Modules/DiffusionImaging/Connectomics/IODataStructures/mitkConnectomicsNetwork.h:26,
                 from 
/scratch0/NOT_BACKED_UP/clarkson/build/NifTK-SuperBuild-Release/MITK-src/Modules/DiffusionImaging/Connectomics/IODataStructures/mitkConnectomicsNetwork.cpp:18:
/scratch0/NOT_BACKED_UP/clarkson/build/NifTK-SuperBuild-Release/Boost-install/include/boost/graph/detail/adjacency_list.hpp:
 In function 'std::pair<typename Config::edge_descriptor, bool> 
boost::add_edge(typename Config::vertex_descriptor, typename 
Config::vertex_descriptor, boost::vec_adj_list_impl<G, C, B>&) [with Graph = 
boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, 
mitk::ConnectomicsNetwork::NetworkNode, mitk::ConnectomicsNetwork::NetworkEdge, 
boost::no_property, boost::listS>, Config = 
boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, 
boost::undirectedS, mitk::ConnectomicsNetwork::NetworkNode, 
mitk::ConnectomicsNetwork::NetworkEdge, boost::no_property, boost::listS>, 
boost::vecS, boost::vecS, boost::undirectedS, 
mitk::ConnectomicsNetwork::NetworkNode, mitk::ConnectomicsNetwork::NetworkEdge, 
boost::no_property, boost::listS>::config, Base = 
boost::undirected_graph_helper<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS,
 boost::vecS, boost::undirectedS, mitk::ConnectomicsNetwork::NetworkNode, 
mitk::ConnectomicsNetwork::NetworkEdge, boost::no_property, boost::listS>, 
boost::vecS, boost::vecS, boost::undirectedS, 
mitk::ConnectomicsNetwork::NetworkNode, mitk::ConnectomicsNetwork::NetworkEdge, 
boost::no_property, boost::listS>::config>]':
/scratch0/NOT_BACKED_UP/clarkson/build/NifTK-SuperBuild-Release/Boost-install/include/boost/graph/detail/adjacency_list.hpp:850:
 error: 'p' may be used uninitialized in this function [-Wuninitialized]
/scratch0/NOT_BACKED_UP/clarkson/build/NifTK-SuperBuild-Release/Boost-install/include/boost/graph/detail/adjacency_list.hpp:2215:
 note: 'p' was declared here
make[2]: *** 
[Modules/DiffusionImaging/Connectomics/CMakeFiles/MitkConnectomics.dir/IODataStructures/mitkConnectomicsNetwork.cpp.o]
 Error 1





------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to