
Originally Posted by
Hodor
I guess it has to be asked: are you sure you're using clang and not gcc or something else?
Edit: to be more specific, are you sure the makefile is using clang as the compiler? Maybe paste the output of the make process
I still use Code::Blocks IDE with a custom make-file.
Code:
-------------- Build: all in xboard_fork (compiler: LLVM Clang Compiler 10 GTK Library Warnings_Disabled)---------------
Checking if target is up-to-date: make -q -f /home/mehdi/Documents/Code_Blocks_Projects/xboard_fork/Makefile all
Running command: make -f /home/mehdi/Documents/Code_Blocks_Projects/xboard_fork/Makefile all
make all-recursive
make[1]: Entering directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork'
Making all in po
make[2]: Entering directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork/po'
make[2]: Leaving directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork/po'
make[2]: Entering directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork'
make[1]: Leaving directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork'
Running target post-build steps
Code:
echo PASSWORD | sudo -S make -f Makefile install
[sudo] password for USER:
Making install in po
[...]
Code:
/bin/mkdir -p '/usr/local/share/info'
/usr/bin/install -c -m 644 ./xboard.info '/usr/local/share/info'
install-info --info-dir='/usr/local/share/info' '/usr/local/share/info/xboard.info'
/bin/mkdir -p '/usr/local/share/man/man6'
/usr/bin/install -c -m 644 'xboard.man' '/usr/local/share/man/man6/xboard.6'
/bin/mkdir -p '/usr/local/share/mime/packages'
/usr/bin/install -c -m 644 xboard.xml '/usr/local/share/mime/packages'
make install-data-hook
make[3]: Entering directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork'
if test -z "" -a -n "/usr/bin/xdg-mime" -a -n "/usr/bin/xdg-desktop-menu" -a -n "/usr/bin/xdg-icon-resource" ; then \
/usr/bin/xdg-mime install --mode system --novendor xboard.xml ;\
/usr/bin/xdg-desktop-menu install --mode system --novendor xboard-pgn-viewer.desktop;\
/usr/bin/xdg-desktop-menu install --mode system --novendor xboard-fen-viewer.desktop;\
/usr/bin/xdg-desktop-menu install --mode system --novendor xboard-tourney.desktop;\
/usr/bin/xdg-desktop-menu install --mode system --novendor xboard-config.desktop;\
/usr/bin/xdg-icon-resource install --context mimetypes --size 32 pixmaps/board32.png application-x-chess-pgn;\
/usr/bin/xdg-icon-resource install --context mimetypes --size 32 pixmaps/cross32.png application-x-xboard-trn;\
/usr/bin/xdg-icon-resource install --context mimetypes --size 32 pixmaps/ini32.png application-x-xboard-opt;\
/usr/bin/xdg-icon-resource install --context mimetypes --size 48 pixmaps/board48.png application-x-chess-pgn;\
/usr/bin/xdg-icon-resource install --context mimetypes --size 48 pixmaps/cross48.png application-x-xboard-trn;\
/usr/bin/xdg-icon-resource install --context mimetypes --size 48 pixmaps/ini48.png application-x-xboard-opt;\
fi
make[3]: Leaving directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork'
make[2]: Leaving directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork'
make[1]: Leaving directory '/home/mehdi/Documents/Code_Blocks_Projects/xboard_fork'
Process terminated with status 0 (0 minute(s), 2 second(s))
0 error(s), 0 warning(s) (0 minute(s), 2 second(s))