Supermodel is successfully compiling on CLANG!!!

As a mere exercise in style, here's the steps (for ArchLinux):
- Code: Select all
### install clang
sudo pacman -S clang
### create a new modified Makefile
cp /path/to/Supermodel/svn/sources/Makefiles/Makefile.UNIX /path/to/Supermodel/svn/sources/Makefiles/MakefileCLANG.UNIX
### set correct CLANG path inside MakefileCLANG.UNIX
#
# Toolchain
#
CC = /usr/bin/clang-10
CXX = /usr/bin/clang++
LD = /usr/bin/clang-10
### create/update the symbolic link to the newly created MakefileCLANG.UNIX
ln -sf /path/to/Supermodel/svn/sources/Makefiles/MakefileCLANG.UNIX /path/to/Supermodel/svn/sources/Makefile
### it's compiling time!
make -j$(nproc)