Boost logo

Boost Users :

From: Bruno Martínez Aguerre (br1_at_[hidden])
Date: 2004-07-28 14:49:42


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net