Dear Florian, I can see the cause of the problem in the code, unfortunately I can't reproduce the error (the compiler warning), and therefore not verify possible fixes.
Could you please provide some more details, e.g. when creating a new MITK project do you compile it as a 32bit or 64bit application, or did you change any default settings? Regards, Christian -----Ursprüngliche Nachricht----- Von: Peter Neher [mailto:[email protected]] Gesendet: Montag, 12. November 2012 11:26 An: Florian Jung; MITK-Users Betreff: Re: [mitk-users] treat warnings as error problem > Dear Florian, > > since a few months we are handling build warnings in the core as errors. > So it seems we have a bug here, thank you very much for reporting this > issue. I already created a bug in our bug tracking system > (bugs.mitk.org, no 13589,http://bugs.mitk.org/show_bug.cgi?id=13589). > Maybe you want to follow this bug and get noticed as soon as it is fixed. > > If you find more bugs you can also register at bugs.mitk.org and add > the bugs on your own. This will help us to fix bugs as soon as possible. > > Greets, > > Alfred On 10/23/2012 01:49 PM, Florian Jung wrote: > Hello, > > when i compile MITK under 64bit Windows 7 using Visual Studio 10 I get > a lot of the following errors: > > 10>..\..\..\..\..\MITK_SOURCE\MITK-2012.09.0\Core\Code\Interactions\mitkStateMachine.cpp(294): > error C2220: warning treated as error - no 'object' file generated > 10> > 10>..\..\..\..\..\MITK_SOURCE\MITK-2012.09.0\Core\Code\Interactions\mitkStateMachine.cpp(294): > warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned > int', possible loss of data > 10> > 10>..\..\..\..\..\MITK_SOURCE\MITK-2012.09.0\Core\Code\Interactions\mitkStateMachineFactory.cpp(123): > error C2220: warning treated as error - no 'object' file generated > 10> > 10>..\..\..\..\..\MITK_SOURCE\MITK-2012.09.0\Core\Code\Interactions\mitkStateMachineFactory.cpp(123): > warning C4267: 'argument' : conversion from 'size_t' to 'unsigned > int', possible loss of data > > So I have to disable "treat warnings as error" to successfully compile > MITK. Has anybody got similar problems or an idea what could be the problem? > > Regards > Florian > > ---------------------------------------------------------------------- > -------- Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite > for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users -- Dipl.-Inform. Peter Neher German Cancer Research Center (DKFZ, Deutsches Krebsforschungszentrum in der Helmholtz-Gemeinschaft, Stiftung des öffentlichen Rechts) Division of Medical and Biological Informatics Im Neuenheimer Feld 280, D-69120 Heidelberg Phone: 49-(0)6221-42-3552, Fax: 49-(0)6221-42-2345 E-Mail: [email protected], Web: www.dkfz.de The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
