Added -Wimplicit to modules build.
Plus associated fixes.
This commit is contained in:
parent
182d45f928
commit
0cd287e67b
4
Makefile
4
Makefile
|
@ -131,8 +131,8 @@ CCFLAGS += \
|
|||
-mtext-section-literals
|
||||
# -Wall
|
||||
|
||||
CFLAGS = $(CCFLAGS) $(DEFINES) $(EXTRA_CCFLAGS) $(INCLUDES)
|
||||
DFLAGS = $(CCFLAGS) $(DDEFINES) $(EXTRA_CCFLAGS) $(INCLUDES)
|
||||
CFLAGS = $(CCFLAGS) $(DEFINES) $(EXTRA_CCFLAGS) $(STD_CFLAGS) $(INCLUDES)
|
||||
DFLAGS = $(CCFLAGS) $(DDEFINES) $(EXTRA_CCFLAGS) $(STD_CFLAGS) $(INCLUDES)
|
||||
|
||||
|
||||
#############################################################
|
||||
|
|
|
@ -789,7 +789,6 @@
|
|||
#ifndef LWIP_MDNS
|
||||
#define LWIP_MDNS 1
|
||||
#endif
|
||||
/*
|
||||
/*
|
||||
----------------------------------
|
||||
---------- DNS options -----------
|
||||
|
|
|
@ -15,7 +15,7 @@ ifndef PDIR
|
|||
GEN_LIBS = libmodules.a
|
||||
endif
|
||||
|
||||
EXTRA_CCFLAGS+=-std=gnu11
|
||||
STD_CFLAGS=-std=gnu11 -Wimplicit
|
||||
|
||||
#############################################################
|
||||
# Configuration i.e. compile options etc.
|
||||
|
|
|
@ -52,6 +52,7 @@ tmr.softwd(int)
|
|||
#include "lauxlib.h"
|
||||
#include "platform.h"
|
||||
#include "c_types.h"
|
||||
#include "user_interface.h"
|
||||
|
||||
#define TIMER_MODE_OFF 3
|
||||
#define TIMER_MODE_SINGLE 0
|
||||
|
|
|
@ -260,6 +260,7 @@ void* platform_get_last_free_ram( unsigned id );
|
|||
|
||||
int platform_ow_exists( unsigned id );
|
||||
int platform_gpio_exists( unsigned id );
|
||||
int platform_tmr_exists( unsigned id );
|
||||
|
||||
// *****************************************************************************
|
||||
// Helper macros
|
||||
|
|
Loading…
Reference in New Issue