#71 acdk_make does not compile

closed-fixed
nobody
None
5
2004-07-18
2004-07-06
No

Following error occured on compiling acdk_make.
I have a cvs snapshot taken today.

acdk/make/main/acdkmake.cpp:183: error: no matching
function for call to `
acdk::cfgscript::ScopedCfgVar::ScopedCfgVar(acdk::cfgscript::RProps&,
const
char[8], acdk::cfgscript::Props*,
acdk::cfgscript::PropsFlags)'

I fixed it for me by adding

ScopedCfgVar(IN(RProps) props, IN(RString) name,
IN(RObject) val, int flags)
: _props(props)
, _name(name)
, _flags(flags)
{
_props->set(name, new DmiObject(val), flags);
}

Don't know if this is the best way of fixing this...

Discussion

  • Roger Rene Kommer

    Logged In: YES
    user_id=20586

    Hi,

    This fix works and is OK, but should better be fixed on the
    caller side.

    I already fixed it in the acdkmake.cpp tomorow, just wrapping
    the argument with new DmiObject(...).
    OLD: ScopedCfgVar globals(basicprops, "globals", basicprops,
    PropsNoFlags);
    NEW: ScopedCfgVar globals(basicprops, "globals", new
    DmiObject(basicprops), PropsNoFlags);

    This changes should be in the CVS.

    Roger

     
  • Roger Rene Kommer

    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks