set 'silent build' as default; suppression of gcc warnings in main executable from local libraries added.

This commit is contained in:
Roland Jax
2014-12-13 09:32:39 +01:00
parent 4922e6024d
commit a9de53123c
7 changed files with 10 additions and 12 deletions
+2
View File
@@ -44,4 +44,6 @@ AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AC_PROG_RANLIB
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_OUTPUT
+2 -2
View File
@@ -1,8 +1,8 @@
AM_CXXFLAGS = -fpic \
-Wall \
-Wextra \
-I$(top_srcdir)/src/lib/utils \
-I$(top_srcdir)/src/lib/ebus
-isystem$(top_srcdir)/src/lib/utils \
-isystem$(top_srcdir)/src/lib/ebus
bin_PROGRAMS = ebusd
+1 -1
View File
@@ -1,7 +1,7 @@
AM_CXXFLAGS = -fpic \
-Wall \
-Wextra \
-I$(top_srcdir)/src/lib/utils
-isystem$(top_srcdir)/src/lib/utils
noinst_LIBRARIES = libebus.a
+1 -1
View File
@@ -294,7 +294,7 @@ ssize_t Port::recv(const long timeout, size_t maxCount, unsigned char* buffer)
ssize_t ret = m_device->recvBytes(timeout, maxCount, buffer);
if (buffer && ret > 0) {
if (m_logRaw == true && m_logRawFunc != NULL) {
for (size_t pos = 0; pos < ret; pos++)
for (ssize_t pos = 0; pos < ret; pos++)
(*m_logRawFunc)(buffer[pos], true);
}
+2 -2
View File
@@ -1,8 +1,8 @@
AM_CXXFLAGS = -fpic \
-Wall \
-Wextra \
-I$(top_srcdir)/src/lib/ebus \
-I$(top_srcdir)/src/lib/utils
-isystem$(top_srcdir)/src/lib/ebus \
-isystem$(top_srcdir)/src/lib/utils
noinst_PROGRAMS = test_port \
test_symbol \
-4
View File
@@ -1,4 +0,0 @@
# type;class;cmd;comment;QQ;ZZ;PBSB;NN;D1D2D3;elements;sub;part;position;datatype;factor;unit;valid;comment;sub;part;position;datatype;factor;unit;valid;comment;sub;part;position;datatype;factor;unit;valid;comment;sub;part;position;datatype;factor;unit;valid;comment
c;broad;date_time_temp;Datum, Uhrzeit und Aussentempertur;;FE;0700;9;-;4;temp;md;1,2;d2b;1.0;°C;-;Temperatur;day;md;8;bdy;-;-;-;Wochentag;date;md;6,7,9;bda;-;-;-;Datum;time;md;5,4,3;bti;-;-;-;Uhrzeit
g;ci;Password;Kennwort;;15;B509;3;0D2C00;4;pin1;sd;1;uch;-;-;-;Pin 1;pin2;sd;2;uch;-;-;-;Pin 2;pin3;sd;3;uch;-;-;-;Pin 3;pin4;sd;4;uch;-;-;-;Pin 4
s;vwxmk;DesiredTemp;Solltemperatur;;50;B509;4;0E3200;1;-;sd;1;d1c;1.0;°C;-;-;;;;;;;;;;;;;;;;;;;;;;;;
1 # type class cmd comment QQ ZZ PBSB NN D1D2D3 elements sub part position datatype factor unit valid comment sub part position datatype factor unit valid comment sub part position datatype factor unit valid comment sub part position datatype factor unit valid comment
2 c broad date_time_temp Datum, Uhrzeit und Aussentempertur FE 0700 9 - 4 temp md 1,2 d2b 1.0 °C - Temperatur day md 8 bdy - - - Wochentag date md 6,7,9 bda - - - Datum time md 5,4,3 bti - - - Uhrzeit
3 g ci Password Kennwort 15 B509 3 0D2C00 4 pin1 sd 1 uch - - - Pin 1 pin2 sd 2 uch - - - Pin 2 pin3 sd 3 uch - - - Pin 3 pin4 sd 4 uch - - - Pin 4
4 s vwxmk DesiredTemp Solltemperatur 50 B509 4 0E3200 1 - sd 1 d1c 1.0 °C - -
+2 -2
View File
@@ -1,8 +1,8 @@
AM_CXXFLAGS = -fpic \
-Wall \
-Wextra \
-I$(top_srcdir)/src/lib/utils \
-I$(top_srcdir)/src/lib/ebus
-isystem$(top_srcdir)/src/lib/utils \
-isystem$(top_srcdir)/src/lib/ebus
bin_PROGRAMS = ebusctl \
ebusfeed