Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARMCC and 64-bit unsigned integers...?

There's a knowledgebase article that was last reviewed on June 7, 2005 that says the CARM compiler does not support 64-bit unsigned integers. I'm using the ARMCC compiler (from the RealView MDK-ARM toolchain), and the following code

char s[100];
unsigned int x32;
unsigned long int x64;

sprintf(s,"sizeof(x32)=%u\r\n",sizeof(x32));
printf(s);
sprintf(s,"sizeof(x64)=%u\r\n",sizeof(x64));
printf(s);

produces the following output

sizeof(x32)=4
sizeof(x64)=4

This leads me to believe that the ARMCC tools don't support 64-bit math either.

However, if that's so, why doesn't the above code create any errors or warnings when it's compiled?

Is there a way to get 64-bit unsigned integer support in these tools?

Parents
  • The one thing I really miss with electronic manuals is the ability to annotate them.

    With hardcopy manuals, you could scribble notes in the margin; eg, adding cross-references that weren't clear from the index.

    The original Windows .hlp helpfiles did have an annotation facility - but that seems to have been lost with the new .chm format.

    :-(

    Acrobat reader does also have the facility to annotate PDF files - but almost nobody enables this facility in their PDF files.

    :-(

Reply
  • The one thing I really miss with electronic manuals is the ability to annotate them.

    With hardcopy manuals, you could scribble notes in the margin; eg, adding cross-references that weren't clear from the index.

    The original Windows .hlp helpfiles did have an annotation facility - but that seems to have been lost with the new .chm format.

    :-(

    Acrobat reader does also have the facility to annotate PDF files - but almost nobody enables this facility in their PDF files.

    :-(

Children