mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
* Remove `err` and `warn`, keep `errx` and `warnx`, using them in RGBGFX too * Separate RGBGFX and RGBLINK warnings/errors from main options * Separate `report` function into `error` and `fatal` messages * Implicit newlines for most RGBASM errors
13 lines
247 B
C++
13 lines
247 B
C++
// SPDX-License-Identifier: MIT
|
|
|
|
#ifndef RGBDS_ERROR_HPP
|
|
#define RGBDS_ERROR_HPP
|
|
|
|
[[gnu::format(printf, 1, 2)]]
|
|
void warnx(char const *fmt, ...);
|
|
|
|
[[gnu::format(printf, 1, 2), noreturn]]
|
|
void errx(char const *fmt, ...);
|
|
|
|
#endif // RGBDS_ERROR_HPP
|