mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
@@ -61,10 +61,10 @@ void sect_EndUnion(void);
|
||||
void sect_CheckUnionClosed(void);
|
||||
|
||||
void sect_AbsByte(uint8_t b);
|
||||
void sect_AbsByteGroup(uint8_t const *s, int32_t length);
|
||||
void sect_AbsWordGroup(uint8_t const *s, int32_t length);
|
||||
void sect_AbsLongGroup(uint8_t const *s, int32_t length);
|
||||
void sect_Skip(int32_t skip, bool ds);
|
||||
void sect_AbsByteGroup(uint8_t const *s, uint32_t length);
|
||||
void sect_AbsWordGroup(uint8_t const *s, uint32_t length);
|
||||
void sect_AbsLongGroup(uint8_t const *s, uint32_t length);
|
||||
void sect_Skip(uint32_t skip, bool ds);
|
||||
void sect_String(char const *s);
|
||||
void sect_RelByte(struct Expression *expr, uint32_t pcShift);
|
||||
void sect_RelBytes(uint32_t n, struct Expression *exprs, size_t size);
|
||||
|
||||
@@ -42,8 +42,11 @@ enum WarningID {
|
||||
|
||||
// Warnings past this point are "parametric" warnings, only mapping to a single flag
|
||||
#define PARAM_WARNINGS_START NB_PLAIN_WARNINGS
|
||||
// Treating string as number may lose some bits
|
||||
WARNING_NUMERIC_STRING_1 = PARAM_WARNINGS_START,
|
||||
WARNING_NUMERIC_STRING_2,
|
||||
// Implicit truncation loses some bits
|
||||
WARNING_TRUNCATION_1 = PARAM_WARNINGS_START,
|
||||
WARNING_TRUNCATION_1,
|
||||
WARNING_TRUNCATION_2,
|
||||
|
||||
NB_PLAIN_AND_PARAM_WARNINGS,
|
||||
|
||||
Reference in New Issue
Block a user