projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d40938d
)
added -Wall and fixed compilation error
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sun, 24 Jul 2011 10:33:28 +0000
(10:33 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sun, 24 Jul 2011 10:33:28 +0000
(10:33 +0000)
src/httpd/Makefile.am
patch
|
blob
|
history
src/lib/Makefile.am
patch
|
blob
|
history
src/lib/Makefile.in
patch
|
blob
|
history
src/lib/lmsensor.c
patch
|
blob
|
history
src/plib/Makefile.am
patch
|
blob
|
history
src/plib/Makefile.in
patch
|
blob
|
history
diff --git
a/src/httpd/Makefile.am
b/src/httpd/Makefile.am
index
34c10fc
..
62cb52a
100644
(file)
--- a/
src/httpd/Makefile.am
+++ b/
src/httpd/Makefile.am
@@
-1,4
+1,4
@@
-AM_CPPFLAGS = -pedantic -Werror -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
+AM_CPPFLAGS = -pedantic -W
all -W
error -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/lib \
$(LUA_CFLAGS)\
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/lib \
$(LUA_CFLAGS)\
diff --git
a/src/lib/Makefile.am
b/src/lib/Makefile.am
index
a319b98
..
a60d35a
100644
(file)
--- a/
src/lib/Makefile.am
+++ b/
src/lib/Makefile.am
@@
-1,6
+1,6
@@
noinst_LIBRARIES = libpsensor.a
noinst_LIBRARIES = libpsensor.a
-libpsensor_a_CFLAGS = -Werror
+libpsensor_a_CFLAGS = -W
all -W
error
libpsensor_a_SOURCES = \
amd.h \
libpsensor_a_SOURCES = \
amd.h \
diff --git
a/src/lib/Makefile.in
b/src/lib/Makefile.in
index
e5721d2
..
c75cfbe
100644
(file)
--- a/
src/lib/Makefile.in
+++ b/
src/lib/Makefile.in
@@
-226,7
+226,7
@@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
noinst_LIBRARIES = libpsensor.a
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
noinst_LIBRARIES = libpsensor.a
-libpsensor_a_CFLAGS = -Werror $(am__append_5)
+libpsensor_a_CFLAGS = -W
all -W
error $(am__append_5)
libpsensor_a_SOURCES = amd.h cpu.h measure.h measure.c color.h color.c \
psensor.h psensor.c hdd.h hdd.c nvidia.h lmsensor.h lmsensor.c \
$(am__append_1) $(am__append_4) $(am__append_6)
libpsensor_a_SOURCES = amd.h cpu.h measure.h measure.c color.h color.c \
psensor.h psensor.c hdd.h hdd.c nvidia.h lmsensor.h lmsensor.c \
$(am__append_1) $(am__append_4) $(am__append_6)
diff --git
a/src/lib/lmsensor.c
b/src/lib/lmsensor.c
index
48850f1
..
3af7c78
100644
(file)
--- a/
src/lib/lmsensor.c
+++ b/
src/lib/lmsensor.c
@@
-172,7
+172,7
@@
struct psensor **lmsensor_psensor_list_add(struct psensor **sensors,
int i;
if (!init_done)
int i;
if (!init_done)
- return ;
+ return
NULL
;
result = sensors;
while ((chip = sensors_get_detected_chips(NULL, &chip_nr))) {
result = sensors;
while ((chip = sensors_get_detected_chips(NULL, &chip_nr))) {
diff --git
a/src/plib/Makefile.am
b/src/plib/Makefile.am
index
dbd537e
..
c626da0
100644
(file)
--- a/
src/plib/Makefile.am
+++ b/
src/plib/Makefile.am
@@
-4,7
+4,7
@@
AM_CPPFLAGS = \
noinst_LIBRARIES = libplib.a
noinst_LIBRARIES = libplib.a
-libplib_a_CFLAGS = -pedantic
+libplib_a_CFLAGS = -pedantic
-Wall -Werror
libplib_a_SOURCES = \
url.c url.h \
libplib_a_SOURCES = \
url.c url.h \
diff --git
a/src/plib/Makefile.in
b/src/plib/Makefile.in
index
f25e7f7
..
302a5e1
100644
(file)
--- a/
src/plib/Makefile.in
+++ b/
src/plib/Makefile.in
@@
-213,7
+213,7
@@
AM_CPPFLAGS = \
-I$(top_srcdir)/src
noinst_LIBRARIES = libplib.a
-I$(top_srcdir)/src
noinst_LIBRARIES = libplib.a
-libplib_a_CFLAGS = -pedantic
+libplib_a_CFLAGS = -pedantic
-Wall -Werror
libplib_a_SOURCES = \
url.c url.h \
plib_io.h plib_io.c
libplib_a_SOURCES = \
url.c url.h \
plib_io.h plib_io.c