[gecode-users] Compilation trouble in 64 bit environment?

Maity, Ashis K ashis.k.maity at lmco.com
Fri Jul 22 17:10:36 CEST 2011


Hi All,

I have recently upgraded my computer to 64 bit Windows 7 and new visual Studio installation. After this I get a bunch of warnings like the following and the compilation takes a long time. Worse, while running the same problem, the new environment consumes a ton of memory. Did anybody experience similar issues? Any feedback is appreciated.

Thanks,

Ashis

C:\data\amaity\Gecode36\include\gecode/support/exception.hpp(46) : warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'Gecode::Exception'
1>        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\exception(95) : see declaration of 'std::exception'
1>        C:\data\amaity\Gecode36\include\gecode/support/exception.hpp(46) : see declaration of 'Gecode::Exception'
1>C:\data\amaity\Gecode36\include\gecode/kernel/archive.hpp(246) : warning C4800: 'unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
1>C:\data\amaity\Gecode36\include\gecode/kernel/region.hpp(75) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1>        Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>C:\data\amaity\Gecode36\include\gecode/gist.hh(162) : warning C4251: 'Gecode::Gist::TextOutput::n' : class 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be used by clients of class 'Gecode::Gist::TextOutput'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>C:\data\amaity\Gecode36\include\gecode/driver.hh(485) : warning C4251: 'Gecode::Options::inspect' : class 'Gecode::Options::_I' needs to have dll-interface to be used by clients of class 'Gecode::Options'
1>        C:\data\amaity\Gecode36\include\gecode/driver.hh(447) : see declaration of 'Gecode::Options::_I'
1>C:\data\amaity\Gecode36\include\gecode/driver/options.hpp(319) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
1>.\Scheduler.cpp(178) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(220) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(245) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(366) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(465) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(466) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(472) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(473) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(486) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(486) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(489) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(506) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(551) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
1>.\Scheduler.cpp(609) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(609) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(655) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(666) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
1>.\Scheduler.cpp(679) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
1>C:\data\amaity\Gecode36\include\gecode/support/heap.hpp(358) : warning C4345: behavior change: an object of POD type constructed with an initializer of the form () will be default-initialized
1>        C:\data\amaity\Gecode36\include\gecode/support/heap.hpp(376) : see reference to function template instantiation 'T *Gecode::Heap::alloc<Gecode::DFA::Transition>(unsigned long)' being compiled
1>        with
1>        [
1>            T=Gecode::DFA::Transition
1>        ]
1>        C:\data\amaity\Gecode36\include\gecode/int/extensional/dfa.hpp(87) : see reference to function template instantiation 'T *Gecode::Heap::alloc<Gecode::DFA::Transition>(int)' being compiled
1>        with
1>        [
1>            T=Gecode::DFA::Transition
1>        ]



More information about the users mailing list