dt_errtags.h (248690) | dt_errtags.h (248708) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 10 unchanged lines hidden (view full) --- 19 * 20 * CDDL HEADER END 21 */ 22/* 23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 10 unchanged lines hidden (view full) --- 19 * 20 * CDDL HEADER END 21 */ 22/* 23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 |
27 /* 28 * Copyright (c) 2011, Joyent, Inc. All rights reserved. 29 * Copyright (c) 2011 by Delphix. All rights reserved. 30 */ 31 |
|
27#ifndef _DT_ERRTAGS_H 28#define _DT_ERRTAGS_H 29 | 32#ifndef _DT_ERRTAGS_H 33#define _DT_ERRTAGS_H 34 |
30#pragma ident "%Z%%M% %I% %E% SMI" 31 | |
32#ifdef __cplusplus 33extern "C" { 34#endif 35 36/* 37 * This enum definition is used to define a set of error tags associated with 38 * the D compiler's various error conditions. The shell script mkerrtags.sh is 39 * used to parse this file and create a corresponding dt_errtags.c source file. --- 142 unchanged lines hidden (view full) --- 182 D_DREC_COMM, /* data action after commit() */ 183 D_PRINTA_PROTO, /* printa() prototype mismatch */ 184 D_PRINTA_AGGARG, /* aggregation arg type mismatch */ 185 D_PRINTA_AGGBAD, /* printa() aggregation not defined */ 186 D_PRINTA_AGGKEY, /* printa() aggregation key mismatch */ 187 D_PRINTA_AGGPROTO, /* printa() aggregation mismatch */ 188 D_TRACE_VOID, /* trace() argument has void type */ 189 D_TRACE_DYN, /* trace() argument has dynamic type */ | 35#ifdef __cplusplus 36extern "C" { 37#endif 38 39/* 40 * This enum definition is used to define a set of error tags associated with 41 * the D compiler's various error conditions. The shell script mkerrtags.sh is 42 * used to parse this file and create a corresponding dt_errtags.c source file. --- 142 unchanged lines hidden (view full) --- 185 D_DREC_COMM, /* data action after commit() */ 186 D_PRINTA_PROTO, /* printa() prototype mismatch */ 187 D_PRINTA_AGGARG, /* aggregation arg type mismatch */ 188 D_PRINTA_AGGBAD, /* printa() aggregation not defined */ 189 D_PRINTA_AGGKEY, /* printa() aggregation key mismatch */ 190 D_PRINTA_AGGPROTO, /* printa() aggregation mismatch */ 191 D_TRACE_VOID, /* trace() argument has void type */ 192 D_TRACE_DYN, /* trace() argument has dynamic type */ |
193 D_PRINT_VOID, /* print() argument has void type */ 194 D_PRINT_DYN, /* print() argument has dynamic type */ |
|
190 D_TRACEMEM_ADDR, /* tracemem() address bad type */ 191 D_TRACEMEM_SIZE, /* tracemem() size bad type */ 192 D_TRACEMEM_ARGS, /* tracemem() illegal number of args */ 193 D_TRACEMEM_DYNSIZE, /* tracemem() dynamic size bad type */ 194 D_STACK_PROTO, /* stack() prototype mismatch */ 195 D_STACK_SIZE, /* stack() size argument bad type */ 196 D_USTACK_FRAMES, /* ustack() frames arg bad type */ 197 D_USTACK_STRSIZE, /* ustack() strsize arg bad type */ --- 73 unchanged lines hidden --- | 195 D_TRACEMEM_ADDR, /* tracemem() address bad type */ 196 D_TRACEMEM_SIZE, /* tracemem() size bad type */ 197 D_TRACEMEM_ARGS, /* tracemem() illegal number of args */ 198 D_TRACEMEM_DYNSIZE, /* tracemem() dynamic size bad type */ 199 D_STACK_PROTO, /* stack() prototype mismatch */ 200 D_STACK_SIZE, /* stack() size argument bad type */ 201 D_USTACK_FRAMES, /* ustack() frames arg bad type */ 202 D_USTACK_STRSIZE, /* ustack() strsize arg bad type */ --- 73 unchanged lines hidden --- |