More warnings with GCC-4.2.0

"Prem Mallappa" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Hi All,
Finally managed to bypass the GCC-4.2.0 errors on asmsyms.h
(I am using the CVS tree and porting to an ARM platform, it is not
compilable directly)

I still have warnings
/usr/local/work/l4Ka/l4arm/pistachio/kernel/include/api/v4/thread.h:59:
warning: large integer implicitly truncated to unsigned type

and this is associated with
 static threadid_t anylocalthread()
    {
        threadid_t tid;
        tid.local.zero = 0;
        tid.local.id = (word_t) (-1UL);   >>>> WARNING
        return tid;
    }

Is there any clean solution to this warning?

/PReM
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.