mirror of
https://github.com/nicklausw/ndsa.git
synced 2025-06-18 16:55:44 -04:00
don't use -Wno-reorder
This commit is contained in:
parent
1e37b9f357
commit
8d75841206
2
Makefile
2
Makefile
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user