Reimar Döffinger wrote on Tue, 22 May 2012 09:14:02 +0200:
> If someone has a good idea for testing all these headers without having
> to compile for each language it might be worth implementing it.
Here you go.
Ingo
Index: Makefile
===================================================================
--- Makefile (revision 34958)
+++ Makefile (working copy)
@@ -766,6 +766,8 @@
###### generic rules #######
+export CC
+
all: $(ALL_PRG-yes)
%.o: %.S
Index: help/help_create.sh
===================================================================
--- help/help_create.sh (revision 34958)
+++ help/help_create.sh (working copy)
@@ -11,10 +11,18 @@
MASTER=help/help_mp-en.h
TARGET=help_mp.h
+CHECK=help_check
TRANSLATION=$1
CHARSET=$2
+for h in help/help_mp*.h; do
+ echo "#include \"$h\"" > ${CHECK}.c
+ $CC -Werror -c ${CHECK}.c || exit
+done
+
+rm ${CHECK}.c ${CHECK}.o
+
missing_messages(){
curr=""
_______________________________________________
MPlayer-DOCS mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-docs