Skip to content

Compiler warning: cast from pointer to integer of different size

While building the stage1 compiler:

In file included from rts/Capability.h:25:0,
                 from includes/dist-derivedconstants/header/tmp.c:15:
rts/Task.h: In function 'serialiseTaskId':
rts/Task.h:318:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     return (TaskId) taskID;
            ^

I'm building a cross-compiler with build/host=x86_64-linux-gnu and target=mips-unknown-linux-musl

Trac metadata
Trac field Value
Version
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information