Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
0d6882a0
Commit
0d6882a0
authored
Feb 03, 2001
by
Richard Kenner
Committed by
Richard Kenner
Feb 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* diagnostic.h: Add missing "extern" in all declarations.
From-SVN: r39418
parent
55de1b66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
42 deletions
+52
-42
gcc/ChangeLog
+4
-0
gcc/diagnostic.h
+48
-42
No files found.
gcc/ChangeLog
View file @
0d6882a0
Fri Feb 2 20:03:50 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* diagnostic.h: Add missing "extern" in all declarations.
2001-02-02 Alex Samuel <samuel@codesourcery.com>
* Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
...
...
gcc/diagnostic.h
View file @
0d6882a0
/* Various declarations for language-independent diagnostics subroutines.
Copyright (C) 2000 Free Software Foundation, Inc.
Copyright (C) 2000
, 2001
Free Software Foundation, Inc.
Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
This file is part of GNU CC.
...
...
@@ -166,46 +166,52 @@ extern int diagnostic_message_length_per_line;
extern
output_buffer
*
diagnostic_buffer
;
/* Prototypes */
void
set_diagnostic_context
PARAMS
((
diagnostic_context
*
,
const
char
*
,
va_list
*
,
const
char
*
,
int
,
int
));
void
set_fatal_function
PARAMS
((
void
(
*
)
PARAMS
((
const
char
*
,
va_list
*
))));
void
report_diagnostic
PARAMS
((
diagnostic_context
*
));
void
initialize_diagnostics
PARAMS
((
void
));
void
reshape_diagnostic_buffer
PARAMS
((
void
));
void
default_initialize_buffer
PARAMS
((
output_buffer
*
));
void
init_output_buffer
PARAMS
((
output_buffer
*
,
const
char
*
,
int
));
void
flush_diagnostic_buffer
PARAMS
((
void
));
void
output_clear
PARAMS
((
output_buffer
*
));
const
char
*
output_get_prefix
PARAMS
((
const
output_buffer
*
));
const
char
*
output_last_position
PARAMS
((
const
output_buffer
*
));
void
output_set_prefix
PARAMS
((
output_buffer
*
,
const
char
*
));
void
output_destroy_prefix
PARAMS
((
output_buffer
*
));
void
output_set_maximum_length
PARAMS
((
output_buffer
*
,
int
));
void
output_emit_prefix
PARAMS
((
output_buffer
*
));
void
output_add_newline
PARAMS
((
output_buffer
*
));
void
output_add_space
PARAMS
((
output_buffer
*
));
int
output_space_left
PARAMS
((
const
output_buffer
*
));
void
output_append
PARAMS
((
output_buffer
*
,
const
char
*
,
const
char
*
));
void
output_add_character
PARAMS
((
output_buffer
*
,
int
));
void
output_decimal
PARAMS
((
output_buffer
*
,
int
));
void
output_add_string
PARAMS
((
output_buffer
*
,
const
char
*
));
const
char
*
output_finalize_message
PARAMS
((
output_buffer
*
));
void
output_clear_message_text
PARAMS
((
output_buffer
*
));
void
output_printf
PARAMS
((
output_buffer
*
,
const
char
*
,
...))
ATTRIBUTE_PRINTF_2
;
int
output_is_line_wrapping
PARAMS
((
output_buffer
*
));
void
set_message_prefixing_rule
PARAMS
((
int
));
void
output_verbatim
PARAMS
((
output_buffer
*
,
const
char
*
,
...))
ATTRIBUTE_PRINTF_2
;
void
verbatim
PARAMS
((
const
char
*
,
...))
ATTRIBUTE_PRINTF_1
;
char
*
context_as_prefix
PARAMS
((
const
char
*
,
int
,
int
));
char
*
file_name_as_prefix
PARAMS
((
const
char
*
));
int
error_module_changed
PARAMS
((
void
));
void
record_last_error_module
PARAMS
((
void
));
int
error_function_changed
PARAMS
((
void
));
void
record_last_error_function
PARAMS
((
void
));
void
report_problematic_module
PARAMS
((
output_buffer
*
));
extern
void
set_diagnostic_context
PARAMS
((
diagnostic_context
*
,
const
char
*
,
va_list
*
,
const
char
*
,
int
,
int
));
extern
void
set_fatal_function
PARAMS
((
void
(
*
)
PARAMS
((
const
char
*
,
va_list
*
))));
extern
void
report_diagnostic
PARAMS
((
diagnostic_context
*
));
extern
void
initialize_diagnostics
PARAMS
((
void
));
extern
void
reshape_diagnostic_buffer
PARAMS
((
void
));
extern
void
default_initialize_buffer
PARAMS
((
output_buffer
*
));
extern
void
init_output_buffer
PARAMS
((
output_buffer
*
,
const
char
*
,
int
));
extern
void
flush_diagnostic_buffer
PARAMS
((
void
));
extern
void
output_clear
PARAMS
((
output_buffer
*
));
extern
const
char
*
output_get_prefix
PARAMS
((
const
output_buffer
*
));
extern
const
char
*
output_last_position
PARAMS
((
const
output_buffer
*
));
extern
void
output_set_prefix
PARAMS
((
output_buffer
*
,
const
char
*
));
extern
void
output_destroy_prefix
PARAMS
((
output_buffer
*
));
extern
void
output_set_maximum_length
PARAMS
((
output_buffer
*
,
int
));
extern
void
output_emit_prefix
PARAMS
((
output_buffer
*
));
extern
void
output_add_newline
PARAMS
((
output_buffer
*
));
extern
void
output_add_space
PARAMS
((
output_buffer
*
));
extern
int
output_space_left
PARAMS
((
const
output_buffer
*
));
extern
void
output_append
PARAMS
((
output_buffer
*
,
const
char
*
,
const
char
*
));
extern
void
output_add_character
PARAMS
((
output_buffer
*
,
int
));
extern
void
output_decimal
PARAMS
((
output_buffer
*
,
int
));
extern
void
output_add_string
PARAMS
((
output_buffer
*
,
const
char
*
));
extern
const
char
*
output_finalize_message
PARAMS
((
output_buffer
*
));
extern
void
output_clear_message_text
PARAMS
((
output_buffer
*
));
extern
void
output_printf
PARAMS
((
output_buffer
*
,
const
char
*
,
...))
ATTRIBUTE_PRINTF_2
;
extern
int
output_is_line_wrapping
PARAMS
((
output_buffer
*
));
extern
void
set_message_prefixing_rule
PARAMS
((
int
));
extern
void
output_verbatim
PARAMS
((
output_buffer
*
,
const
char
*
,
...))
ATTRIBUTE_PRINTF_2
;
extern
void
verbatim
PARAMS
((
const
char
*
,
...))
ATTRIBUTE_PRINTF_1
;
extern
char
*
context_as_prefix
PARAMS
((
const
char
*
,
int
,
int
));
extern
char
*
file_name_as_prefix
PARAMS
((
const
char
*
));
extern
int
error_module_changed
PARAMS
((
void
));
extern
void
record_last_error_module
PARAMS
((
void
));
extern
int
error_function_changed
PARAMS
((
void
));
extern
void
record_last_error_function
PARAMS
((
void
));
extern
void
report_problematic_module
PARAMS
((
output_buffer
*
));
#endif
/* __GCC_DIAGNOSTIC_H__ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment