don't use -Wno-reorder

This commit is contained in:
nicklausw 2022-03-12 21:40:30 -05:00
parent 1e37b9f357
commit 8d75841206
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ CFLAGS += -g -Wall -O2 \
$(ARCH)
CFLAGS += $(INCLUDE) -DARM9
CXXFLAGS := $(CFLAGS) -std=c++11 -Wno-reorder
CXXFLAGS := $(CFLAGS) -std=c++11
ASFLAGS := -g $(ARCH)
LDFLAGS = -g $(ARCH) -Wl,-Map,$(notdir $*.map)

View File

@ -58,7 +58,7 @@ namespace NDSA {
// a unique random number for every instance.
long PublicID;
float X, Y;
float X = 0, Y = 0;
int xSize = 0, ySize = 0;
int width = 0, height = 0;
@ -84,7 +84,7 @@ namespace NDSA {
#ifdef DS
, NDSA_Screen nSprScreen
#endif
) : X(nX), Y(nY), ObjSprite(nSprite)
) : ObjSprite(nSprite), X(nX), Y(nY)
#ifdef DS
, SprScreen(nSprScreen)
#endif