Commit 0cd287e6 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Added -Wimplicit to modules build.

Plus associated fixes.
parent 182d45f9
...@@ -131,8 +131,8 @@ CCFLAGS += \ ...@@ -131,8 +131,8 @@ CCFLAGS += \
-mtext-section-literals -mtext-section-literals
# -Wall # -Wall
CFLAGS = $(CCFLAGS) $(DEFINES) $(EXTRA_CCFLAGS) $(INCLUDES) CFLAGS = $(CCFLAGS) $(DEFINES) $(EXTRA_CCFLAGS) $(STD_CFLAGS) $(INCLUDES)
DFLAGS = $(CCFLAGS) $(DDEFINES) $(EXTRA_CCFLAGS) $(INCLUDES) DFLAGS = $(CCFLAGS) $(DDEFINES) $(EXTRA_CCFLAGS) $(STD_CFLAGS) $(INCLUDES)
############################################################# #############################################################
......
...@@ -789,7 +789,6 @@ ...@@ -789,7 +789,6 @@
#ifndef LWIP_MDNS #ifndef LWIP_MDNS
#define LWIP_MDNS 1 #define LWIP_MDNS 1
#endif #endif
/*
/* /*
---------------------------------- ----------------------------------
---------- DNS options ----------- ---------- DNS options -----------
......
...@@ -15,7 +15,7 @@ ifndef PDIR ...@@ -15,7 +15,7 @@ ifndef PDIR
GEN_LIBS = libmodules.a GEN_LIBS = libmodules.a
endif endif
EXTRA_CCFLAGS+=-std=gnu11 STD_CFLAGS=-std=gnu11 -Wimplicit
############################################################# #############################################################
# Configuration i.e. compile options etc. # Configuration i.e. compile options etc.
......
...@@ -52,6 +52,7 @@ tmr.softwd(int) ...@@ -52,6 +52,7 @@ tmr.softwd(int)
#include "lauxlib.h" #include "lauxlib.h"
#include "platform.h" #include "platform.h"
#include "c_types.h" #include "c_types.h"
#include "user_interface.h"
#define TIMER_MODE_OFF 3 #define TIMER_MODE_OFF 3
#define TIMER_MODE_SINGLE 0 #define TIMER_MODE_SINGLE 0
......
...@@ -260,6 +260,7 @@ void* platform_get_last_free_ram( unsigned id ); ...@@ -260,6 +260,7 @@ void* platform_get_last_free_ram( unsigned id );
int platform_ow_exists( unsigned id ); int platform_ow_exists( unsigned id );
int platform_gpio_exists( unsigned id ); int platform_gpio_exists( unsigned id );
int platform_tmr_exists( unsigned id );
// ***************************************************************************** // *****************************************************************************
// Helper macros // Helper macros
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment