Assign and MultiArray conflict with precompiled headers
28 Jul
2004
28 Jul
'04
7:49 p.m.
Hi. I'm trying out the recently accepted Assign library, and also the MultiArray library, which is new to me. I'm in VC7.1, and using the post review version of Assign. Depending on the order I include the libraries in my precompiled header, the linker complains about double definition of MultiArray's extents object. Here are the files that reproduce the problem. //stdafx.h #pragma once #include "boost/multi_array.hpp" #include "boost/assign.hpp" //main.cpp #include "stdafx.h" int main() { boost::multi_array<int, 2> t(boost::extents[3][4]); } I couldn't find relation between the two libraries. Thanks in advance, Bruno Martínez
7359
Age (days ago)
7359
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bruno Martínez Aguerre