TOP

ASN.1/C++ Compiler Errors

Applies to: ASN.1/C++ v7.3-7.3.1

The ASN.1/C++ compiler and runtime routines can both generate error and informatory messages. Use these error messages to help pinpoint problems in your ASN.1 syntax or application code.

In ASN.1 Studio, compiler error messages are displayed in the Diagnostic window. Clicking a message opens the related input file and highlights the location of the error.

Format

There are four types of messages issued by the various OSS ASN.1 Tools components:

  • ASN.1 compiler input-ASN.1 syntax checking messages
  • ASN.1 compiler command-line format messages
  • ASN.1 compiler input file processing messages
  • Runtime-function signal messages

Access message details for the first three types of messages through this page. Use ASN.1/C++ Runtime Errors to look up runtime-function messages.

All four types of messages carry a unique code that identifies each issued message. This message code consists of six characters: the first identifies the OSS ASN.1 Tools component that issued the message, next is a four-digit message number, and the last states the severity level of the message. See the following table for more details:

Character Position
in Message Code
Purpose Possible Characters Description
First Component Identifier
A

C

L

D

E
ASN.1 syntax checker

ASN.1 compiler input-file processor

ASN.1 compiler command-line format checker

Decoder routines

Encoder routines
Second through Fifth Message Number 0001 to 9999 Unique, four-digit message ID number
Sixth Error Severity
I



W




E



S
Informatory message (Level 0)
Level 0 messages provide additional information; no error is indicated. Warning message (Level 1) Level 1 messages warn that something is unusual in the input or in how an OSS ASN.1 Tools component is used; they do not necessarily indicate an error. Regular error message (Level 2) A Level 2 message indicates that an error occurred; however, the current process continues. Severe error message (Level 3) A Level 3 message indicates that an error occurred; processing stops immediately.

Example

The A0086E error code contains the following information:

  • The letter A states that the message is issued by the ASN.1 syntax checker.
  • The number 0086 is the message number. Use this number to look up the message details.
  • The letter E indicates that this message is a Level 2 error, which refers to regular or common errors.

Format of ASN.1 Compiler Command-Line Format and Input-File Processing Messages

Messages issued by the command-line format checker and input-file processor have two parts: a message code and a message description.

message-code: message-description

Example

L0236S: Unrecognized keyword, -codeFront.

Format of ASN.1 Syntax Checking Messages

Error message format

Typical ASN.1 syntax checker message

Compiler Error Reference

Use these links to look up OSS ASN.1 compiler error messages by message number:


This documentation applies to release 7.3 and later of the OSS® ASN.1 Tools for C++.

Copyright © 2024 OSS Nokalva, Inc. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means electronic, mechanical, photocopying, recording or otherwise, without the prior permission of OSS Nokalva, Inc.
Every distributed copy of the OSS® ASN.1 Tools for C++ is associated with a specific license and related unique license number. That license determines, among other things, what functions of the OSS ASN.1 Tools for C++ are available to you.