[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Confuse-devel] C++ and deprecated conversion fr om string constant
From: |
Martin Hedenfalk |
Subject: |
Re: [Confuse-devel] C++ and deprecated conversion fr om string constant to ‘char*’ |
Date: |
Sun, 12 Jan 2014 18:08:19 +0100 |
Hi,
I've moved the main source repository to github at
https://github.com/martinh/libconfuse.
I intend to move libconfuse off of Savannah completely, and to shut down this
mailing list, unless someone objects.
.martin
10 jan 2014 kl. 03:31 skrev Craig McQueen <address@hidden>:
> Hello,
>
> I see there has been no activity in the git repository for 3 years. What is
> the development status of libconfuse?
>
> Can it be moved to github? It's more likely to attract contributions since
> github makes it easy to fork and do pull requests. Also it would be good to
> have a proper issue tracker which is better than a mailing list.
>
> There are already some libconfuse forks on github:
> https://github.com/scunningham/libConfuse
> https://github.com/stricaud/libconfuse
>
> Regards,
> Craig McQueen
>
> From: Oscar Koeroo <address@hidden>
> Sent: Tuesday, 18 June 2013 5:32 PM
> To: Craig McQueen; address@hidden
> Subject: Re: [Confuse-devel] C++ and deprecated conversion from string
> constant to ‘char*’
>
> Hi Craig,
>
> I had the same exact issue. I solved it by making a local patch, but I would
> love to see this upstream.
>
> Oscar
>
>
> Craig McQueen <address@hidden> schreef: I'm using libconfuse from a C++
> program. It works okay, however for every config option specified with
> CFG_STR(), CFG_INT(), etc, I get a C++ compiler warning:
>
> warning: deprecated conversion from string constant to ‘char*’
>
> It seems that this is because struct cfg_opt field name is 'char *' rather
> than 'const char *', and typical usage is to provide it a const string e.g.
>
> CFG_STR("log-config", "log.conf", CFGF_NONE),
>
> So, would it be possible for struct cfg_opt field name to become 'const char
> *'?
>
> Regards,
> Craig McQueen
>
>
> Confuse-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/confuse-devel
>
> --
> Verzonden van mijn Android telefoon met K-9 Mail.
> _______________________________________________
> Confuse-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/confuse-devel