|
Overview |
Compiler Options |
Directives |
C++ Representation |
Compiler Errors |
Cross-Compiling |
Advanced Topics
ASN.1/C++ Compiler Errors
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) |
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
Typical ASN.1 syntax checker message
Compiler Error Reference
Use these links to look up OSS ASN.1 compiler error messages by message number:
- Compiler Error Reference: message numbers 0001 to 0499
- Compiler Error Reference: message numbers 0500 to 0999
- Compiler Error Reference: message numbers 1000 to 1299
- Compiler Error Reference: message numbers 1300 to 9999
This documentation applies to release 8.0 and later of the OSS® ASN.1 Tools for C++.
Copyright © 2025 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.
