annotate gcc/testsuite/g++.dg/other/pr31078.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 typedef int SLONG;
kono
parents:
diff changeset
2 typedef char SCHAR;
kono
parents:
diff changeset
3 typedef short SSHORT;
kono
parents:
diff changeset
4 typedef char TEXT;
kono
parents:
diff changeset
5 typedef long ISC_STATUS;
kono
parents:
diff changeset
6 const SLONG gds_arg_string = 2;
kono
parents:
diff changeset
7 const SLONG gds_sys_request = 335544373L;
kono
parents:
diff changeset
8 enum jrd_blk_t
kono
parents:
diff changeset
9 {
kono
parents:
diff changeset
10 type_str, type_dcc, type_sbm, type_smb, type_blb, type_irb, type_jrn
kono
parents:
diff changeset
11 };
kono
parents:
diff changeset
12 struct blk
kono
parents:
diff changeset
13 {
kono
parents:
diff changeset
14 };
kono
parents:
diff changeset
15 template < class RPT, SSHORT BLOCK_TYPE = 0 > class pool_alloc_rpt:public blk
kono
parents:
diff changeset
16 {
kono
parents:
diff changeset
17 };
kono
parents:
diff changeset
18 class jrn:public pool_alloc_rpt < SCHAR, type_jrn >
kono
parents:
diff changeset
19 {
kono
parents:
diff changeset
20 public:ISC_STATUS * jrn_status_vector;
kono
parents:
diff changeset
21 TEXT jrn_server[1];
kono
parents:
diff changeset
22 };
kono
parents:
diff changeset
23 typedef jrn *JRN;
kono
parents:
diff changeset
24 extern void IBERR_build_status (ISC_STATUS *, ISC_STATUS, ...);
kono
parents:
diff changeset
25 static void
kono
parents:
diff changeset
26 error (ISC_STATUS * status_vector, JRN journal, int status, TEXT * string)
kono
parents:
diff changeset
27 {
kono
parents:
diff changeset
28 IBERR_build_status (status_vector, gds_sys_request, gds_arg_string, string,
kono
parents:
diff changeset
29 gds_arg_string, (journal) ? journal->jrn_server : "",
kono
parents:
diff changeset
30 0);
kono
parents:
diff changeset
31 }