Hi Martin,

> On 08/30/2010 08:18 PM, Kelly Brock wrote:
> > Hi Martin,
> >
> >     Just as a note, there is still a bit of an issue though it's just
> > warnings.  Basically if you have the decl's and just statically link you
> get
> > a whole slew of linker warnings about "locally defined function
> imported"
> > blah, blah.  This is not a horrible thing but it is annoying.  The only
> way
> > I can see to fix it is to go with the original suggestion of just
> removing
> > the declspec's completely for a static build via a define.
> 
> Warnings are annoying, but having to add a random define is even more
> so. What about adding two new configurations to the MSVC project. So
> we'll have:
> 
> Dynamic Debug
> Dynamic Release
> Static Debug
> Static Release
> 
> The latter two would have the constant defined.
> 
> Thoughts?
> Martin

        Yes, the separate projects answer is definitely preferable to me
since you wouldn't be able to use the current projects for a static lib
anyway.  I'm currently doing things this way in my little testbed app which
I build projects for with premake4.  This just let's me verify dll/static
builds, osx/linux etc without a lot of muckin about, not that I'm trying to
push the premake stuff, it's just useful for quick x-plat test runs.

KB

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to