| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| Hi, I am trying to build our libraries in HP-UX11.23 in 64 bit mode sing aCC compiler. I am getting following error : "/usr/include/machine/sys/newsig.h", line 115: error #2105: invalid size for bit field uint64_t __uc_reserved_flags:61; I am unable to find the reason why it is giving this error. System details: "/usr/include/machine/sys/newsig.h", line 115: error #2105: invalid size for bit field uint64_t __uc_reserved_flags:61; Please let me know if anybody has idea regarding this. Thank you ! Regards Satish. |
|
#2
|
| satish.lvr-at-gmail.com wrote: > I am trying to build our libraries in HP-UX11.23 in 64 bit mode sing > aCC compiler. Which version of the compiler? rick jones -- Wisdom Teeth are impacted, people are affected by the effects of events. these opinions are mine, all mine; HP might not want them anyway... ![]() feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH... |
|
#3
|
| On Aug 27, 2:08*am, Rick Jones > satish....@gmail.com wrote: > > I am trying to build our libraries in HP-UX11.23 in 64 bit mode sing > > aCC compiler. > > Which version of the compiler? > > rick jones > -- > Wisdom Teeth are impacted, people are affected by the effects of events. > these opinions are mine, all mine; HP might not want them anyway... ![]() > feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH... Hi, My aCC version is aCC: HP C/aC++ B3910B A.06.12 [Aug 17 2006] Anyway, This problem has been solved by giving "+DD64" option in my compilation. Please let me know if you have points. Regards Satish. |
|
#4
|
| satish.lvr-at-gmail.com wrote: > On Aug 27, 2:08?am, Rick Jones > > satish....@gmail.com wrote: > > > I am trying to build our libraries in HP-UX11.23 in 64 bit mode sing > > > aCC compiler. > > > > Which version of the compiler? > My aCC version is > aCC: HP C/aC++ B3910B A.06.12 [Aug 17 2006] > Anyway, This problem has been solved by giving "+DD64" option in my > compilation. Ah, so it wasn't compiling in 64 bit mode before. I'm sure that Dennis can expound on bitfields and 64-bit types in 32-bit (ILP32) vs 64 bit (LP64) compilation modes. rick jones -- oxymoron n, commuter in a gas-guzzling luxury SUV with an American flag these opinions are mine, all mine; HP might not want them anyway... ![]() feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH... |
|
#5
|
| satish.lvr-at-gmail.com wrote: > This problem has been solved by giving "+DD64" option in my compilation. Right. The only way to get this error is to create a .i file with +DD64 then forget to use the same options to compile it. Rick Jones wrote: >I'm sure that Dennis can expound on bitfields and 64-bit types in >32-bit (ILP32) vs 64 bit (LP64) compilation modes. In C, you can't have bit fields larger than the type. Since uint64_t is probably declared as unsigned long with +DD64, it is only 32 bits with +DD32. With C++, you can have bitfields of any size. |
![]() |
| Thread Tools | |
| Display Modes | |