IBM Support

PI17716: Compiling with Cygwin 64bit results in error 'cast from 'void*'to 'DWORD {aka unsigned int}''

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • NTThread(void*)':
    ntos.cpp:514:33: error: cast from 'void*' to 'DWORD {aka
    unsigned int}'
    loses precision [-fpermissive]
    :
    hThread(NULL),ThreadId((DWORD)osThreadId),isWrapperThread(1),end
    OSThread
    InDtor(TRUE) {
    ^
    cygwinoxf.mak:24: recipe for target 'ntos.o' failed
    make[1]: *** [ntos.o] Error 1
    make[1]: Leaving directory
    '/cygdrive/d/_data/_tools/Rhapsody/Share/LangCpp/oxf'
    cygwinbuild.mak:28: recipe for target 'tomlibsCpp' failed
    make: *** [tomlibsCpp] Error 2
    
    
    CAUSE
    
    Cast problem with 64bit systems which can be avoided by
    inserting manual casts in the Rhapsody OXF framework source
    code.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Rhapsody 8.0.6 doesn't support Cygwin 64 bit.
    

Problem conclusion

  • Thread handle type was changed and several other related
    changes done.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI17716

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    806

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-12

  • Closed date

    2014-09-11

  • Last modified date

    2014-09-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R806 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.0.6

Reference #: PI17716

Modified date: 11 September 2014