Boost logo

Boost Users :

Subject: Re: [Boost-users] [test] testing protected/private methods out of test suits
From: Jonathan Franklin (franklin.jonathan_at_[hidden])
Date: 2008-09-23 22:35:06


On Mon, Sep 22, 2008 at 11:32 AM, Jonathan Franklin <
franklin.jonathan_at_[hidden]> wrote:

> The '#define private public' trick works for me using MSVS 2005 and static
> libraries.
>

Turns out that it only worked for me when building Debug. The Release build
generated undefined symbol errors at link-time.

Jon



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