mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-09-06 14:01:37 +00:00
D front-end changes: - Import dmd v2.112.0-beta.1. D runtime changes: - Import druntime v2.112.0-beta.1. - Added 64-bit `mul' and `udivmod' overloads to `core.int128'. Phobos changes: - Added `lazyCache' to `std.algorithm.iteration'. - Added `writeText', `writeWText', and `writeDText' to `std.conv'. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd 1017635a96. * dmd/VERSION: Bump version to v2.112.0-beta.1. * decl.cc (DeclVisitor::finish_vtable): Update for new front-end interface. (DeclVisitor::visit): Likewise. * typeinfo.cc (TypeInfoVisitor::visit): Likewise. libphobos/ChangeLog: * libdruntime/MERGE: Merge upstream druntime 1017635a96. * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/sys/syscall.d, core/sys/linux/syscall.d. * libdruntime/Makefile.in: Regenerate. * src/MERGE: Merge upstream phobos 5a142da0a. * src/Makefile.am (PHOBOS_DSOURCES): Remove std/internal/windows/bcrypt.d. * src/Makefile.in: Regenerate. gcc/testsuite/ChangeLog: * gdc.dg/asm1.d: Adjust test.
24 lines
735 B
D
24 lines
735 B
D
/**
|
|
* D header file for Bionic err.h.
|
|
*
|
|
* Copyright: Copyright © 2019, The D Language Foundation
|
|
* License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
|
|
* Authors: Emily Castellotti
|
|
*/
|
|
module core.sys.bionic.err;
|
|
import core.stdc.stdarg : va_list;
|
|
|
|
version (CRuntime_Bionic):
|
|
extern (C):
|
|
nothrow:
|
|
@nogc:
|
|
|
|
void err(int eval, scope const char* fmt, ...);
|
|
void errx(int eval, scope const char* fmt, ...);
|
|
void warn(scope const char* fmt, ...);
|
|
void warnx(scope const char* fmt, ...);
|
|
void verr(int eval, scope const char* fmt, va_list args);
|
|
void verrx(int eval, scope const char* fmt, va_list args);
|
|
void vwarn(scope const char* fmt, va_list args);
|
|
void vwarnx(scope const char* fmt, va_list args);
|