﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
2544	Compilation without precompiled header files fails.	Radagast		"{{{
cd build/workspaces/
./clean-workspaces.sh
./update-workspaces.sh --without-pch
make clean
make
}}}


Fails at NetMessageSim.cpp with boost error 2 instead of 4 template-parameters for std::map.
A map intuitively has only key and value, though my boost-header file in /usr/include/ expects four arguments. 

{{{
administrator@pc01:~/0ad/build/workspaces/gcc$ make clean
Cleaning pyrogenesis
Cleaning network
Cleaning tinygettext
Cleaning lobby
Cleaning glooxwrapper
Cleaning simulation2
Cleaning scriptinterface
Cleaning engine
Cleaning graphics
Cleaning atlas
Cleaning gui
Cleaning lowlevel
Cleaning mongoose
Cleaning mocks_real
Cleaning mocks_test
Cleaning AtlasObject
Cleaning AtlasUI
Cleaning ActorEditor
Cleaning Collada
Cleaning test
administrator@pc01:~/0ad/build/workspaces/gcc$ make all
==== Building mocks_real (release) ====
Creating obj/mocks_real_Release
mocks_real.cpp
Linking mocks_real
==== Building network (release) ====
Creating obj/network_Release
NetMessageSim.cpp
In file included from ../../../source/network/NetMessageSim.cpp:23:0:
../../../source/scriptinterface/ScriptInterface.h:424:34: error: wrong number of template arguments (2, should be 4)
/usr/include/boost/detail/container_fwd.hpp:87:73: error: provided for ‘template<class Key, class T, class Compare, class Allocator> struct std::map’
make[1]: *** [obj/network_Release/NetMessageSim.o] Error 1
make: *** [network] Error 2

}}}



{{{
administrator@pc01:~/0ad/build/workspaces/gcc$ uname -a
Linux pc01 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:35:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

administrator@pc01:~/0ad/build/workspaces/gcc$ whereis boost
boost: /usr/include/boost

administrator@pc01:~/0ad/build/workspaces/gcc$ dpkg -s libboost-dev | grep 'Version'
Version: 1.48.0.2

}}}

I hope it's just my system which is broken."	defect	new	Should Have	Alpha 16	Core engine		build, without-pch	historicbruno	
