Closed rbuj closed 4 years ago
@rbuj
I think we should we use MATE_COMPILE_WARNINGS([yes])
for all packages as default for normal compiling. Same as with mate-utils.
@raveit65 done, I also added compiler warnings in summary table:
$ ./autogen.sh --prefix=/usr
...
MATE Power Manager 1.23.0
=============================
prefix: /usr
datadir: ${datarootdir}
compiler: gcc
cflags: -g -O2
cwarnings: -Wall -Wmissing-prototypes
gnome-keyring support: yes
Building extra applets: yes
Self test support: no
dbus-1 services dir: ${datarootdir}/dbus-1/services
Now type `make' to compile mate-power-manager
@rbuj
I also added compiler warnings in summary table:
Very nice :)
I think i will revert changes for mate-common-1.22.1 in stable branch, to avoid to make all changes for compiling repos for 1.22 too. What do you think?
Just updated travis (ci) to latest mate-common release.
MATE_COMPILE_WARNINGS is present in configure.ac but WARN_CFLAGS variable is not used. git grep WARN_CFLAGS
It removes -enable-extra-warn=yes, since it is recommended to use -enable-compile-warnings=maximum.
It sets -enable-compiler-warnings=yes, the default value for all MATE packager for now.
It prints WARN_CFLAGS in summary table.