Login  Register

libdxfrw issue

Posted by dxli on Sep 18, 2015; 2:06pm
URL: https://forum.librecad.org/libdxfrw-issue-tp5712257.html

Hi Rallaz,

I am looking into compiler warnings:

at line 379 of drw_entities.cpp:

    if(space == 2){//entity are in block
        dwgHandle ownerH = buf->getOffsetHandle(handle);
        DRW_DBG("owner (parent) Handle: "); DRW_DBGHL(ownerH.code, ownerH.size, ownerH.ref); DRW_DBG("\n");
        DRW_DBG("   Remaining bytes: "); DRW_DBG(buf->numRemainingBytes()); DRW_DBG("\n");
        parentHandle = ownerH.ref;
        DRW_DBG("Block (parent) Handle: "); DRW_DBGHL(ownerH.code, ownerH.size, parentHandle); DRW_DBG("\n");
    }

but
//! Spaces
enum Space {
    ModelSpace = 0,
    PaperSpace = 1
};

Thanks!