cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] readData() function and data variable in examples 2 and 21 "already defined" linker error

From: Piotr Dobrogost <curlpp_at_2008.autoera.pl>
Date: Sun, 02 Nov 2008 19:01:24 +0100

Jean-Philippe Barette-LaPierre wrote:
> On Sun, Nov 2, 2008 at 12:13 PM, Piotr Dobrogost <curlpp_at_2008.autoera.pl
> <mailto:curlpp_at_2008.autoera.pl>> wrote:
>
> jpbarrette_at_gmail.com <mailto:jpbarrette_at_gmail.com> wrote:
>
>
> I don't seen any reason to not put them in anonymous namespaces.
> However i found it peculiar that you need to need to have one
> project that creates only one executable. Aren't you able to
> have everything in the same project, but many targets?
>
>
> I could create one .exe for each example but I put them together
> into one .exe and can choose which to run by giving the number of
> example as the first argument.
> The point is someone sooner or later will try to do similar thing
> and we could save him a trouble. That's all.
>
> Looking at this in broader perspective I have a feeling all global
> entities used in any compilation unit as a part of implementation
> (without showing them in public interface - in the header file)
> should be put in anonymous namespace.
>
>
> It seem I didn't saw what exactly you wanted to do. That's completely
> okay with me.
>

It's nice to see you read posts and care about project.
What is the policy of making changes and who makes changes?

Regards
Piotr Dobrogost
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2008-11-02

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET