msvc tests

Peter Kümmel syntheticpp at gmx.net
Tue May 16 13:10:56 CEST 2006


Peter Kümmel wrote:
> the fail of kconfigtest is worse than a bug: the compiler crashes when compiling
> 
> KConfig sc( "kconfigtest" );
> sc.writeEntry( "flags-bit0-bit1", KConfigTest::Flags(KConfigTest::bit0|KConfigTest::bit1));
> 
> so I have replaced the code with a int version which breaks the test for
> QString KConfig::readEntry
> 
> I think it's better to disable the test and to make a additional output when using msvc.

The compiler problem is solved:
#ifndef Q_CC_MSVC
  sc.writeEntry( "enum-100", KConfigTest::Hundreds );
#else
  sc.writeEntry( "enum-100", KConfigTest::Hundreds, KConfigBase::Normal );
#endif

but the test still fails :(



More information about the Kde-buildsystem mailing list