Re: [tools-discuss] Question on bit-field definitions under cc (fwd)

2007-10-12 Thread Gavin Maltby
On 10/12/07 01:24, Xiu-Yan Wang wrote: Hi James, Thanks for your reminder! My project does head for Nevada. So it is the code instead of the tools needed to be changed. I hit this a while back and stuck with the bitfields but added some gymnastics: union mcamd_dimm_offset_un { uint6

Re: [tools-discuss] Question on bit-field definitions under cc (fwd)

2007-10-11 Thread Xiu-Yan Wang
Hi James, Thanks for your reminder! My project does head for Nevada. So it is the code instead of the tools needed to be changed. --Lucy James Carlson wrote: > Xiu-Yan Wang writes: > >>Hi Alexey & James, >> >>Thanks for your info! I'll update the toolchain of my build server. :-) > > > I hop

Re: [tools-discuss] Question on bit-field definitions under cc

2007-10-11 Thread Peter Damron
Besides the other replies about Studio 11 vs. Studio 12, there is a difference for 32-bit code vs. 64-bit code. In 32-bit code, 64-bit bitfields were not supported until recently. In 64-bit code, 64-bit bitfields have always been supported, AFAIK. Peter. This message posted from opensolaris.o

Re: [tools-discuss] Question on bit-field definitions under cc (fwd)

2007-10-11 Thread James Carlson
Xiu-Yan Wang writes: > Hi Alexey & James, > > Thanks for your info! I'll update the toolchain of my build server. :-) I hope your project is not headed for ON Nevada integration. If so, then you need to know that only Studio 11 is supported for Nevada at this time. -- James Carlson, Solaris Ne

Re: [tools-discuss] Question on bit-field definitions under cc (fwd)

2007-10-11 Thread Xiu-Yan Wang
hy Thomas >> <[EMAIL PROTECTED]>, >> Ray Han <[EMAIL PROTECTED]> >> Subject: Re: [tools-discuss] Question on bit-field definitions under cc >> >> Xiu-Yan Wang wrote: >> >>> Hi all, >>> >>> When using cc bundled in SUNWspro

Re: [tools-discuss] Question on bit-field definitions under cc (fwd)

2007-10-11 Thread Alexey V. Lapshin
> To: Xiu-Yan Wang <[EMAIL PROTECTED]> > Cc: tools-discuss@opensolaris.org, Cathy Thomas > <[EMAIL PROTECTED]>, > Ray Han <[EMAIL PROTECTED]> > Subject: Re: [tools-discuss] Question on bit-field definitions under cc > > Xiu-Yan Wang wrote: >> Hi all

Re: [tools-discuss] Question on bit-field definitions under cc

2007-10-11 Thread James C. McPherson
Xiu-Yan Wang wrote: > Hi all, > > When using cc bundled in SUNWspro to compile codes with bit-field > definitions like the following: > > typedef struct test_bitfield_s { > uint64_t > field0 : 8, > field1 : 8, > field2 : 8, >

[tools-discuss] Question on bit-field definitions under cc

2007-10-11 Thread Xiu-Yan Wang
Hi all, When using cc bundled in SUNWspro to compile codes with bit-field definitions like the following: typedef struct test_bitfield_s { uint64_t field0 : 8, field1 : 8, field2 : 8, field3 : 8, field4