Linear Collider Forum



Home » Software Tools » Marlin et al » NNCluster causes compiler error (Coding standard)
NNCluster causes compiler error [message #2232] Mon, 11 June 2012 09:23 Go to previous message
grenier
Messages: 13
Registered: June 2008
Location: LYON
Dear all,

I'm trying to develop some code using the MarlinUtil NNCluster.

I wanted to use the conversion to lcio::Cluster and I got the following error message :

/ilc/v01-13-06/MarlinUtil/v01-05-02/include/marlinutil/NNClu sters.h:349: error: ISO C++ forbids variable-size array
/ilc/v01-13-06/MarlinUtil/v01-05-02/include/marlinutil/NNClu sters.h:349: error: ISO C++ forbids variable-size array
/ilc/v01-13-06/MarlinUtil/v01-05-02/include/marlinutil/NNClu sters.h:349: error: ISO C++ forbids variable-size array
/ilc/v01-13-06/MarlinUtil/v01-05-02/include/marlinutil/NNClu sters.h:349: error: ISO C++ forbids variable-size array

I would like to avoid changing MarlinUtil for my tests. Is there a way to tell cmake to not complain about this error and transform it into a warning ?

Thanks for the help.
 
Read Message
Read Message
Read Message
Previous Topic:new ilcsoft release v01-13-06
Next Topic:new ilcsoft release v01-14
Goto Forum:
  


Current Time: Mon Sep 23 06:34:49 Pacific Daylight Time 2019
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software