Issue713

Title build fails with clang
Priority bug Status rejected
Assigned To Keywords
Linked issues Watchers

Submitted on 2013-11-20 20h24 by matthiaskrgr, last changed by matthiaskrgr.

Messages
Author: matthiaskrgr Date: 2013-11-20   20h24
run export CC="/usr/bin/clang"  (then, autogen, configure, make ..) to compile
with clang

as of 3096445ecba491676670de95607bb44eca0273eb

make  all-recursive
make[1]: Entering directory '/home/matthias/vcs/git/freedroid'
Making all in src
make[2]: Entering directory '/home/matthias/vcs/git/freedroid/src'
version_string=`echo "char *freedroid_version = \"$(git describe --tags
2>/dev/null || echo "0.15+git")\";"` \
&& (echo $version_string | cmp -s - version.c) || echo $version_string > version.c
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-version.o -MD -MP -MF .deps/freedroidRPG-version.Tpo -c -o
freedroidRPG-version.o `test -f 'version.c' || echo './'`version.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-version.Tpo .deps/freedroidRPG-version.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-menu.o -MD -MP -MF .deps/freedroidRPG-menu.Tpo -c -o
freedroidRPG-menu.o `test -f 'menu.c' || echo './'`menu.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-menu.Tpo .deps/freedroidRPG-menu.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-shop.o -MD -MP -MF .deps/freedroidRPG-shop.Tpo -c -o
freedroidRPG-shop.o `test -f 'shop.c' || echo './'`shop.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-shop.Tpo .deps/freedroidRPG-shop.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-items.o -MD -MP -MF .deps/freedroidRPG-items.Tpo -c -o
freedroidRPG-items.o `test -f 'items.c' || echo './'`items.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-items.Tpo .deps/freedroidRPG-items.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-character.o -MD -MP -MF .deps/freedroidRPG-character.Tpo -c -o
freedroidRPG-character.o `test -f 'character.c' || echo './'`character.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-character.Tpo .deps/freedroidRPG-character.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-skills.o -MD -MP -MF .deps/freedroidRPG-skills.Tpo -c -o
freedroidRPG-skills.o `test -f 'skills.c' || echo './'`skills.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-skills.Tpo .deps/freedroidRPG-skills.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-saveloadgame.o -MD -MP -MF .deps/freedroidRPG-saveloadgame.Tpo -c
-o freedroidRPG-saveloadgame.o `test -f 'saveloadgame.c' || echo './'`saveloadgame.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-saveloadgame.Tpo .deps/freedroidRPG-saveloadgame.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-event.o -MD -MP -MF .deps/freedroidRPG-event.Tpo -c -o
freedroidRPG-event.o `test -f 'event.c' || echo './'`event.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-event.Tpo .deps/freedroidRPG-event.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-dynarray.o -MD -MP -MF .deps/freedroidRPG-dynarray.Tpo -c -o
freedroidRPG-dynarray.o `test -f 'dynarray.c' || echo './'`dynarray.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-dynarray.Tpo .deps/freedroidRPG-dynarray.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-item_upgrades.o -MD -MP -MF .deps/freedroidRPG-item_upgrades.Tpo -c
-o freedroidRPG-item_upgrades.o `test -f 'item_upgrades.c' || echo
'./'`item_upgrades.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-item_upgrades.Tpo .deps/freedroidRPG-item_upgrades.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-item_upgrades_ui.o -MD -MP -MF
.deps/freedroidRPG-item_upgrades_ui.Tpo -c -o freedroidRPG-item_upgrades_ui.o
`test -f 'item_upgrades_ui.c' || echo './'`item_upgrades_ui.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-item_upgrades_ui.Tpo .deps/freedroidRPG-item_upgrades_ui.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-addon_crafting_ui.o -MD -MP -MF
.deps/freedroidRPG-addon_crafting_ui.Tpo -c -o freedroidRPG-addon_crafting_ui.o
`test -f 'addon_crafting_ui.c' || echo './'`addon_crafting_ui.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-addon_crafting_ui.Tpo
.deps/freedroidRPG-addon_crafting_ui.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-lua.o -MD -MP -MF .deps/freedroidRPG-lua.Tpo -c -o
freedroidRPG-lua.o `test -f 'lua.c' || echo './'`lua.c
clang: warning: argument unused during compilation: '-fnested-functions'
lua.c:1883:13: warning: unused function 'load_lua_module' [-Wunused-function]
static void load_lua_module(enum lua_target target, const char *dir, const char
*module)
            ^
1 warning generated.
mv -f .deps/freedroidRPG-lua.Tpo .deps/freedroidRPG-lua.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-luaconfig.o -MD -MP -MF .deps/freedroidRPG-luaconfig.Tpo -c -o
freedroidRPG-luaconfig.o `test -f 'luaconfig.c' || echo './'`luaconfig.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-luaconfig.Tpo .deps/freedroidRPG-luaconfig.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-armor.o -MD -MP -MF .deps/freedroidRPG-armor.Tpo -c -o
freedroidRPG-armor.o `test -f 'armor.c' || echo './'`armor.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-armor.Tpo .deps/freedroidRPG-armor.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-blocks.o -MD -MP -MF .deps/freedroidRPG-blocks.Tpo -c -o
freedroidRPG-blocks.o `test -f 'blocks.c' || echo './'`blocks.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-blocks.Tpo .deps/freedroidRPG-blocks.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-floor_tiles.o -MD -MP -MF .deps/freedroidRPG-floor_tiles.Tpo -c -o
freedroidRPG-floor_tiles.o `test -f 'floor_tiles.c' || echo './'`floor_tiles.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-floor_tiles.Tpo .deps/freedroidRPG-floor_tiles.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-graphics.o -MD -MP -MF .deps/freedroidRPG-graphics.Tpo -c -o
freedroidRPG-graphics.o `test -f 'graphics.c' || echo './'`graphics.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-graphics.Tpo .deps/freedroidRPG-graphics.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-map.o -MD -MP -MF .deps/freedroidRPG-map.Tpo -c -o
freedroidRPG-map.o `test -f 'map.c' || echo './'`map.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-map.Tpo .deps/freedroidRPG-map.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-colldet.o -MD -MP -MF .deps/freedroidRPG-colldet.Tpo -c -o
freedroidRPG-colldet.o `test -f 'colldet.c' || echo './'`colldet.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-colldet.Tpo .deps/freedroidRPG-colldet.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-init.o -MD -MP -MF .deps/freedroidRPG-init.Tpo -c -o
freedroidRPG-init.o `test -f 'init.c' || echo './'`init.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-init.Tpo .deps/freedroidRPG-init.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-image.o -MD -MP -MF .deps/freedroidRPG-image.Tpo -c -o
freedroidRPG-image.o `test -f 'image.c' || echo './'`image.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-image.Tpo .deps/freedroidRPG-image.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-takeover.o -MD -MP -MF .deps/freedroidRPG-takeover.Tpo -c -o
freedroidRPG-takeover.o `test -f 'takeover.c' || echo './'`takeover.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-takeover.Tpo .deps/freedroidRPG-takeover.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-bullet.o -MD -MP -MF .deps/freedroidRPG-bullet.Tpo -c -o
freedroidRPG-bullet.o `test -f 'bullet.c' || echo './'`bullet.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-bullet.Tpo .deps/freedroidRPG-bullet.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-influ.o -MD -MP -MF .deps/freedroidRPG-influ.Tpo -c -o
freedroidRPG-influ.o `test -f 'influ.c' || echo './'`influ.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-influ.Tpo .deps/freedroidRPG-influ.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-action.o -MD -MP -MF .deps/freedroidRPG-action.Tpo -c -o
freedroidRPG-action.o `test -f 'action.c' || echo './'`action.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-action.Tpo .deps/freedroidRPG-action.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-misc.o -MD -MP -MF .deps/freedroidRPG-misc.Tpo -c -o
freedroidRPG-misc.o `test -f 'misc.c' || echo './'`misc.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-misc.Tpo .deps/freedroidRPG-misc.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-text.o -MD -MP -MF .deps/freedroidRPG-text.Tpo -c -o
freedroidRPG-text.o `test -f 'text.c' || echo './'`text.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-text.Tpo .deps/freedroidRPG-text.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-text_public.o -MD -MP -MF .deps/freedroidRPG-text_public.Tpo -c -o
freedroidRPG-text_public.o `test -f 'text_public.c' || echo './'`text_public.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-text_public.Tpo .deps/freedroidRPG-text_public.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-sound.o -MD -MP -MF .deps/freedroidRPG-sound.Tpo -c -o
freedroidRPG-sound.o `test -f 'sound.c' || echo './'`sound.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-sound.Tpo .deps/freedroidRPG-sound.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-enemy.o -MD -MP -MF .deps/freedroidRPG-enemy.Tpo -c -o
freedroidRPG-enemy.o `test -f 'enemy.c' || echo './'`enemy.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-enemy.Tpo .deps/freedroidRPG-enemy.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-input.o -MD -MP -MF .deps/freedroidRPG-input.Tpo -c -o
freedroidRPG-input.o `test -f 'input.c' || echo './'`input.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-input.Tpo .deps/freedroidRPG-input.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-keyboard.o -MD -MP -MF .deps/freedroidRPG-keyboard.Tpo -c -o
freedroidRPG-keyboard.o `test -f 'keyboard.c' || echo './'`keyboard.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-keyboard.Tpo .deps/freedroidRPG-keyboard.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-main.o -MD -MP -MF .deps/freedroidRPG-main.Tpo -c -o
freedroidRPG-main.o `test -f 'main.c' || echo './'`main.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-main.Tpo .deps/freedroidRPG-main.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-hud.o -MD -MP -MF .deps/freedroidRPG-hud.Tpo -c -o
freedroidRPG-hud.o `test -f 'hud.c' || echo './'`hud.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-hud.Tpo .deps/freedroidRPG-hud.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-view.o -MD -MP -MF .deps/freedroidRPG-view.Tpo -c -o
freedroidRPG-view.o `test -f 'view.c' || echo './'`view.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-view.Tpo .deps/freedroidRPG-view.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-automap.o -MD -MP -MF .deps/freedroidRPG-automap.Tpo -c -o
freedroidRPG-automap.o `test -f 'automap.c' || echo './'`automap.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-automap.Tpo .deps/freedroidRPG-automap.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-BFont.o -MD -MP -MF .deps/freedroidRPG-BFont.Tpo -c -o
freedroidRPG-BFont.o `test -f 'BFont.c' || echo './'`BFont.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-BFont.Tpo .deps/freedroidRPG-BFont.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-open_gl.o -MD -MP -MF .deps/freedroidRPG-open_gl.Tpo -c -o
freedroidRPG-open_gl.o `test -f 'open_gl.c' || echo './'`open_gl.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-open_gl.Tpo .deps/freedroidRPG-open_gl.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-open_gl_atlas.o -MD -MP -MF .deps/freedroidRPG-open_gl_atlas.Tpo -c
-o freedroidRPG-open_gl_atlas.o `test -f 'open_gl_atlas.c' || echo
'./'`open_gl_atlas.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-open_gl_atlas.Tpo .deps/freedroidRPG-open_gl_atlas.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-open_gl_debug.o -MD -MP -MF .deps/freedroidRPG-open_gl_debug.Tpo -c
-o freedroidRPG-open_gl_debug.o `test -f 'open_gl_debug.c' || echo
'./'`open_gl_debug.c
clang: warning: argument unused during compilation: '-fnested-functions'
open_gl_debug.c:124:14: warning: initializing 'const char *' with an expression
of type 'const GLubyte *' (aka 'const unsigned char *')
      converts between pointers to integer types with different sign
[-Wpointer-sign]
        const char *extensions = glGetString(GL_EXTENSIONS);
                    ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
mv -f .deps/freedroidRPG-open_gl_debug.Tpo .deps/freedroidRPG-open_gl_debug.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-mission.o -MD -MP -MF .deps/freedroidRPG-mission.Tpo -c -o
freedroidRPG-mission.o `test -f 'mission.c' || echo './'`mission.c
clang: warning: argument unused during compilation: '-fnested-functions'
mv -f .deps/freedroidRPG-mission.Tpo .deps/freedroidRPG-mission.Po
/usr/bin/clang -DHAVE_CONFIG_H -I. -I..     -g -O2 -fnested-functions  -Wall
-Wno-format-zero-length  -DFD_DATADIR='"/usr/local/share/freedroidrpg"'
-ffast-math   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -MT
freedroidRPG-chat.o -MD -MP -MF .deps/freedroidRPG-chat.Tpo -c -o
freedroidRPG-chat.o `test -f 'chat.c' || echo './'`chat.c
clang: warning: argument unused during compilation: '-fnested-functions'
chat.c:567:34: error: function definition is not allowed here
        WIDGET(chat_selector)->update = WIDGET_UPDATE_FLAG_ON_DATA(WIDGET,
enabled, !chat_get_current_context()->wait_user_click);
                                        ^
./widgets/widgets.h:431:3: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
  { \
  ^
chat.c:567:32: error: assigning to 'void (*)(struct widget *)' from incompatible
type 'void'
        WIDGET(chat_selector)->update = WIDGET_UPDATE_FLAG_ON_DATA(WIDGET,
enabled, !chat_get_current_context()->wait_user_click);
                                      ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
chat.c:657:4: error: function definition is not allowed here
                        WIDGET_EXECUTE(struct widget_button *wb,
widget_text_scroll_up(chat_log)),
                        ^
./widgets/widgets.h:469:3: note: expanded from macro 'WIDGET_EXECUTE'
  { \
  ^
chat.c:657:4: error: conflicting types for 'anonymous_func'
./widgets/widgets.h:468:8: note: expanded from macro 'WIDGET_EXECUTE'
  void anonymous_func(param) \
       ^
chat.c:567:34: note: previous declaration is here
        WIDGET(chat_selector)->update = WIDGET_UPDATE_FLAG_ON_DATA(WIDGET,
enabled, !chat_get_current_context()->wait_user_click);
                                        ^
./widgets/widgets.h:430:8: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
  void anonymous_func(struct widget *w) \
       ^
chat.c:658:4: error: function definition is not allowed here
                        WIDGET_UPDATE_FLAG_ON_DATA(WIDGET_BUTTON, active,
widget_text_can_scroll_up(chat_log))
                        ^
./widgets/widgets.h:431:3: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
  { \
  ^
chat.c:664:4: error: function definition is not allowed here
                        WIDGET_EXECUTE(struct widget_button *wb,
widget_text_scroll_down(chat_log)),
                        ^
./widgets/widgets.h:469:3: note: expanded from macro 'WIDGET_EXECUTE'
  { \
  ^
chat.c:664:4: error: conflicting types for 'anonymous_func'
./widgets/widgets.h:468:8: note: expanded from macro 'WIDGET_EXECUTE'
  void anonymous_func(param) \
       ^
chat.c:658:4: note: previous declaration is here
                        WIDGET_UPDATE_FLAG_ON_DATA(WIDGET_BUTTON, active,
widget_text_can_scroll_up(chat_log))
                        ^
./widgets/widgets.h:430:8: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
  void anonymous_func(struct widget *w) \
       ^
chat.c:665:4: error: function definition is not allowed here
                        WIDGET_UPDATE_FLAG_ON_DATA(WIDGET_BUTTON, active,
widget_text_can_scroll_down(chat_log))
                        ^
./widgets/widgets.h:431:3: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
  { \
  ^
chat.c:671:4: error: function definition is not allowed here
                        WIDGET_EXECUTE(struct widget_button *wb,
widget_text_list_scroll_up(chat_selector)),
                        ^
./widgets/widgets.h:469:3: note: expanded from macro 'WIDGET_EXECUTE'
  { \
  ^
chat.c:671:4: error: conflicting types for 'anonymous_func'
./widgets/widgets.h:468:8: note: expanded from macro 'WIDGET_EXECUTE'
  void anonymous_func(param) \
       ^
chat.c:665:4: note: previous declaration is here
                        WIDGET_UPDATE_FLAG_ON_DATA(WIDGET_BUTTON, active,
widget_text_can_scroll_down(chat_log))
                        ^
./widgets/widgets.h:430:8: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
  void anonymous_func(struct widget *w) \
       ^
chat.c:672:4: error: function definition is not allowed here
                        WIDGET_UPDATE_FLAG_ON_DATA(WIDGET_BUTTON, active,
widget_text_list_can_scroll_up(chat_selector))
                        ^
./widgets/widgets.h:431:3: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
  { \
  ^
chat.c:678:4: error: function definition is not allowed here
                        WIDGET_EXECUTE(struct widget_button *wb,
widget_text_list_scroll_down(chat_selector)),
                        ^
./widgets/widgets.h:469:3: note: expanded from macro 'WIDGET_EXECUTE'
  { \
  ^
chat.c:678:4: error: conflicting types for 'anonymous_func'
./widgets/widgets.h:468:8: note: expanded from macro 'WIDGET_EXECUTE'
  void anonymous_func(param) \
       ^
chat.c:672:4: note: previous declaration is here
                        WIDGET_UPDATE_FLAG_ON_DATA(WIDGET_BUTTON, active,
widget_text_list_can_scroll_up(chat_selector))
                        ^
./widgets/widgets.h:430:8: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
  void anonymous_func(struct widget *w) \
       ^
chat.c:679:4: error: function definition is not allowed here
                        WIDGET_UPDATE_FLAG_ON_DATA(WIDGET_BUTTON, active,
widget_text_list_can_scroll_down(chat_selector))
                        ^
./widgets/widgets.h:431:3: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
  { \
  ^
chat.c:657:4: error: initializing 'void (*)(struct widget_button *)' with an
expression of incompatible type 'void'
                        WIDGET_EXECUTE(struct widget_button *wb,
widget_text_scroll_up(chat_log)),
                       
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./widgets/widgets.h:466:37: note: expanded from macro 'WIDGET_EXECUTE'
#define WIDGET_EXECUTE(param, code) \
                                    ^
chat.c:658:4: error: initializing 'void (*)(struct widget *)' with an expression
of incompatible type 'void'
                        WIDGET_UPDATE_FLAG_ON_DATA(WIDGET_BUTTON, active,
widget_text_can_scroll_up(chat_log))
                       
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./widgets/widgets.h:428:61: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
#define WIDGET_UPDATE_FLAG_ON_DATA(widget_type, attr, data) \
                                                            ^
chat.c:664:4: error: initializing 'void (*)(struct widget_button *)' with an
expression of incompatible type 'void'
                        WIDGET_EXECUTE(struct widget_button *wb,
widget_text_scroll_down(chat_log)),
                       
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./widgets/widgets.h:466:37: note: expanded from macro 'WIDGET_EXECUTE'
#define WIDGET_EXECUTE(param, code) \
                                    ^
chat.c:665:4: error: initializing 'void (*)(struct widget *)' with an expression
of incompatible type 'void'
                        WIDGET_UPDATE_FLAG_ON_DATA(WIDGET_BUTTON, active,
widget_text_can_scroll_down(chat_log))
                       
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./widgets/widgets.h:428:61: note: expanded from macro 'WIDGET_UPDATE_FLAG_ON_DATA'
#define WIDGET_UPDATE_FLAG_ON_DATA(widget_type, attr, data) \
                                                            ^
chat.c:671:4: error: initializing 'void (*)(struct widget_button *)' with an
expression of incompatible type 'void'
                        WIDGET_EXECUTE(struct widget_button *wb,
widget_text_list_scroll_up(chat_selector)),
                       
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./widgets/widgets.h:466:37: note: expanded from macro 'WIDGET_EXECUTE'
#define WIDGET_EXECUTE(param, code) \
                                    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Makefile:1286: recipe for target 'freedroidRPG-chat.o' failed
make[2]: *** [freedroidRPG-chat.o] Error 1
make[2]: Leaving directory '/home/matthias/vcs/git/freedroid/src'
Makefile:512: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/matthias/vcs/git/freedroid'
Makefile:408: recipe for target 'all' failed
make: *** [all] Error 2
Author: salimiles Date: 2013-11-21   08h47
It seems to have a lot of "clang: warning: argument unused during compilation:
'-fnested-functions'".  Maybe look into if you need that argument?

Other than that it seems to have problems with:
chat.c
widgets/widgets.h
Author: matthiaskrgr Date: 2013-11-21   17h23
>We use some gcc specific features not implemented by clang. So our code can not
build with clang.
Author: matthiaskrgr Date: 2013-11-21   17h23
^ quoted fluzz
History
Date User Action Args
2013-11-21 17:23:28matthiaskrgrsetmessages: + msg2641
2013-11-21 17:23:16matthiaskrgrsetstatus: open -> rejected
messages: + msg2640
2013-11-21 08:47:17salimilessetmessages: + msg2637
2013-11-20 20:24:29matthiaskrgrcreate