Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Test] [1.38] Automated test suie registration with muti-file-test-modules
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-23 18:32:08


AMDG

Greg Christopher wrote:
> Test1.cpp:
> -----
> #include "stdafx.h"
>
> #define BOOST_TEST_MODULE foo2
>
> <snip>
> -----
> Test2.cpp:
> -----
> #include "stdafx.h"
>
> #define BOOST_TEST_MODULE foo
> <snip>
> -----
> And Link with boost library....
>

Don't #define BOOST_TEST_MODULE in more than
one translation unit.

In Christ,
Steven Watanabe


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