+void LIWarning (const LineInfo* LI, const char* Format, ...)
+/* Print a warning message with the line info given explicitly */
+{
+ va_list ap;
+ va_start (ap, Format);
+ IntWarning (GetInputName (LI), GetInputLine (LI), Format, ap);
+ va_end (ap);
+}
+
+
+
void PPWarning (const char* Format, ...)
/* Print warning message. For use within the preprocessor. */
{
+void LIError (const LineInfo* LI, const char* Format, ...)
+/* Print an error message with the line info given explicitly */
+{
+ va_list ap;
+ va_start (ap, Format);
+ IntError (GetInputName (LI), GetInputLine (LI), Format, ap);
+ va_end (ap);
+}
+
+
+
void PPError (const char* Format, ...)
/* Print an error message. For use within the preprocessor. */
{
/* common */
#include "attrib.h"
+/* cc65 */
+#include "lineinfo.h"
+
/*****************************************************************************/
void Warning (const char* Format, ...) attribute ((format (printf, 1, 2)));
/* Print warning message. */
+void LIWarning (const LineInfo* LI, const char* Format, ...) attribute ((format (printf, 2, 3)));
+/* Print a warning message with the line info given explicitly */
+
void PPWarning (const char* Format, ...) attribute ((format (printf, 1, 2)));
/* Print warning message. For use within the preprocessor. */
void Error (const char* Format, ...) attribute ((format (printf, 1, 2)));
/* Print an error message */
+void LIError (const LineInfo* LI, const char* Format, ...) attribute ((format (printf, 2, 3)));
+/* Print an error message with the line info given explicitly */
+
void PPError (const char* Format, ...) attribute ((format (printf, 1, 2)));
/* Print an error message. For use within the preprocessor. */