This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ARM Compiler 4.4.16 - Length of Function Prototypes

Champs,

I received one question from my customer who askes : What is the maximum number of signs/letters a function prototype can have and that are recognized by the compiler. He uses TMS470_Code_Generation_Tools_4.4.16.

Can you help me in getting an answer to this questions?

Thank you and Best Regards,

Christoph Mendt

 

  • There are no arbitrary limits on the length of function names or parameter names, or on the number of parameters, in that version.  All characters are significant, none are ignored.

  • Is this mentioned in the compiler documentation somewhere?

    We are just looking if there is any limitation Identifiers in general. The compiler document just says that the compiler is compliant to C90 standard. In C90 identifiers needs to have significant changes in the first 32 characters.

    We need to refer some oficial documenation that this is not a problme for TI compiler.

  • ARM Optimizing C/C++ Compiler v5.0 User's Guide (SPNU151, revision H) section 5.18 "Compiler Limits"

  • Hi,

     

    I have a related question...

     

    We are using the ARM Optimizing C/C++ Compiler V4.9.5 and working to the Motor

    Industry Software Reliability Association C (MISRA-c) coding standards.  The

    standard requires us to determine the following:

     

    1) The number of significant characters used by the compiler/linker for

    external identifiers

     

    2) Whether case sensitivity is supported by the compiler/linker for external

    identifiers

     

    3) Additionally, please could you clarify the number of significant characters

    used by the compiler/linker for internal identifiers

     

    The "Compiler Limits" section of the User Guide appears to be discussing the

    limits of file sizes & file names.  If you could make a definitive statement

    for each of the points listed above it would be appreciated.

    1. An arbitrary number (in other words, all characters are significant)
    2. The compiler and linker are case sensitive.
    3. An arbitrary number