[assign][multi_array] possible problem with both libs together?

I thought I'd bring this mail from the users list to your attention: http://lists.boost.org/MailArchives/boost-users/msg07311.php Joaquín M López Muñoz Telefónica, Investigación y Desarrollo Original message To: boost-users@xxxxxxxxxxxxxxx Subject: [Boost-users] Assign and MultiArray conflict with precompiledheaders From: Bruno Martínez Aguerre <br1@xxxxxxxxxxxxxxx> Date: Wed, 28 Jul 2004 16:49:42 -0300 Reply-to: boost-users@xxxxxxxxxxxxxxx Sender: news <news@xxxxxxxxxxxxx> User-agent: Opera M2/7.51 (Win32, build 3798) -------------------------------------------------------------------------------- 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
participants (1)
-
JOAQUIN LOPEZ MU?Z