diff options
Diffstat (limited to 'gcc/jit/docs/topics/contexts.rst')
-rw-r--r-- | gcc/jit/docs/topics/contexts.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/jit/docs/topics/contexts.rst b/gcc/jit/docs/topics/contexts.rst index 14ee57e2e54..dfbe968e127 100644 --- a/gcc/jit/docs/topics/contexts.rst +++ b/gcc/jit/docs/topics/contexts.rst @@ -489,6 +489,21 @@ Boolean options #ifdef LIBGCCJIT_HAVE_gcc_jit_context_set_bool_use_external_driver +.. function:: void \ + gcc_jit_context_set_bool_print_errors_to_stderr (gcc_jit_context *ctxt, \ + int enabled) + + By default, libgccjit will print errors to stderr. + + This entrypoint can be used to disable the printing. + + This entrypoint was added in :ref:`LIBGCCJIT_ABI_23`; you can test for + its presence using + + .. code-block:: c + + #ifdef LIBGCCJIT_HAVE_gcc_jit_context_set_bool_print_errors_to_stderr + Integer options *************** |